From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 19:01:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 138AB16A41F for ; Tue, 6 Dec 2005 19:01:02 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mxsf31.cluster1.charter.net (mxsf31.cluster1.charter.net [209.225.28.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A459643D62 for ; Tue, 6 Dec 2005 19:01:00 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mxip16a.cluster1.charter.net (mxip16a.cluster1.charter.net [209.225.28.146]) by mxsf31.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id jB6IxrLw008246 for ; Tue, 6 Dec 2005 14:00:58 -0500 Received: from 24-176-115-13.dhcp.jcsn.tn.charter.com (HELO [192.168.254.3]) (24.176.115.13) by mxip16a.cluster1.charter.net with ESMTP; 06 Dec 2005 13:59:53 -0500 X-IronPort-AV: i="3.99,223,1131339600"; d="scan'208"; a="1878772066:sNHT840649384" User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Tue, 06 Dec 2005 12:59:50 -0600 From: Charles Howse To: Giorgos Keramidas Message-ID: Thread-Topic: sendmail local-host-names Thread-Index: AcX6lzvJelcSZ2aKEdqPFwARJH5tYg== In-Reply-To: <20051206181907.GA16479@flame.pc> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: questions Subject: Re: sendmail local-host-names X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 19:01:02 -0000 > On 2005-12-06 12:11, Charles Howse 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
>> [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
>> [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. :-)