Terry Lambert <[EMAIL PROTECTED]> 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=<[EMAIL PROTECTED]>, size=477, class=0, nrcpts=1, 
>    msgid=<[EMAIL PROTECTED]>, 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to