Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Dec 2005 12:59:50 -0600
From:      Charles Howse <chowse@charter.net>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        questions <freebsd-questions@freebsd.org>
Subject:   Re: sendmail local-host-names
Message-ID:  <BFBB3BC6.37A5%chowse@charter.net>
In-Reply-To: <20051206181907.GA16479@flame.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 2005-12-06 12:11, Charles Howse <chowse@charter.net> wrote:
>> In the past, I was just *certain* I had to had something in
>> local-host-names.  Oh, well.  :-)
>> 
>> [charles@moe:~]$ echo '$=w' | sendmail -bt
>> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
>> Enter <ruleset> <address>
>> [IPv6:::1]
>> moe
>> [192.168.254.4]
>> [IPv6:fe80::1]
>> [IPv6:fe80::2a0:ccff:fe29:689d]
>> moe.local
>> localhost.local
>> localhost
>> larry.local
>> [localhost.local]
>> local
>> [127.0.0.1]
>> 
>> [root@moe:~]# rm /etc/mail/local-host-names
>> [root@moe:~]# killall -HUP sendmail
>> [root@moe:~]# echo '$=w' | sendmail -bt
>> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
>> Enter <ruleset> <address>
>> [IPv6:::1]
>> moe
>> [192.168.254.4]
>> [IPv6:fe80::1]
>> [IPv6:fe80::2a0:ccff:fe29:689d]
>> moe.local
>> localhost.local
>> localhost
>> [localhost.local]
>> [127.0.0.1]
> 
> Well, it looks I was (at least partially) wrong.
> 
> One notable difference is that in the second case (without a local-host-names
> file), the host name "larry.local" is not recognized as a local host name.
> 
> It may be a good idea to keep the local-host-names file in your case, to make
> sure that Sendmail knows about both moe.local and larry.local.

It's working without a local-host-names file, so if it gets squirrelly, I'll
add it back.
Thanks for the help.  :-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFBB3BC6.37A5%chowse>