Skip site navigation (1)Skip section navigation (2)
Date:      04 Jan 2003 19:09:17 -0800
From:      swear@attbi.com (Gary W. Swearingen)
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        "Gary W. Swearingen" <swear@attbi.com>, freebsd-current@freebsd.org
Subject:   Re: [resolution] Re: sendmail (Re: 5.0-RC2 informal PR: 90 sec  sendmail   delay)
Message-ID:  <t465t4nvhe.5t4@localhost.localdomain>
In-Reply-To: <3E174E90.13BAD210@mindspring.com>
References:  <rgptrg1uzx.trg@localhost.localdomain> <3E1352BC.4043921B@mindspring.com> <20030101145232.A391@zardoc.esmtp.org> <3E13D095.FC52B758@mindspring.com> <c9622346-1e23-11d7-83f4-0002b32ee8e9@iv.nn.kiev.ua> <ihadihx3fq.dih_-_@localhost.localdomain> <3E163C0A.C0CF8146@mindspring.com> <8p4r8pwgl6.r8p@localhost.localdomain> <3E16BA5E.1FD866D1@mindspring.com> <14vg14vg8l.g14@localhost.localdomain> <3E174E90.13BAD210@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert <tlambert2@mindspring.com> writes:

> It's ugly, but try adding:
> 
> 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1 localhost
> localhost.localdomain

That actually "fixed" it, but maybe for the wrong reason.  I restarted
my sendmail daemons for no good reason after changing config files and
got this log:

> Jan  4 18:46:16 localhost sm-mta[5812]: restarting /usr/sbin/sendmail due to signal
...
> Jan  4 18:46:17 localhost sm-mta[5812]: gethostbyaddr(IPv6:::1) failed: 1

Then the mail processed normally (AFAIK) logging at the first send:

> Jan  4 18:47:18 localhost sm-mta[6015]: h052lIt7006015:
>    from=<swear@attbi.com>, size=477, class=0, nrcpts=1, 
>    msgid=<s8fzs8nwic.zs8@localhost.localdomain>, proto=ESMTP, 
>    daemon=Daemon0, relay=localhost [127.0.0.1]

where I expected to see [0.0...0.1] in that last "[]".  Something didn't
like the change to /etc/hosts and I suspect it gave up on IPv6 and
resorted to IPv4.  I X-buffer-copied this and counted the zeros:

0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1                localhost localhost.localdomain

I didn't get the "gethostbyaddr" error after changing /etc/hosts back
and restarting the daemons.

-- 
-

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?t465t4nvhe.5t4>