Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2005 20:19:07 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Charles Howse <chowse@charter.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sendmail local-host-names
Message-ID:  <20051206181907.GA16479@flame.pc>
In-Reply-To: <BFBB3081.379F%chowse@charter.net>
References:  <20051206175212.GA15873@flame.pc> <BFBB3081.379F%chowse@charter.net>

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.

- Giorgos




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