Date: Tue, 9 Sep 2014 21:35:32 +0200 From: Polytropon <freebsd@edvax.de> To: "William A. Mahaffey III" <wam@hiwaay.net> Cc: FreeBSD Questions !!!! <freebsd-questions@freebsd.org> Subject: Re: minor sendmail issue .... Message-ID: <20140909213532.34f02807.freebsd@edvax.de> In-Reply-To: <540F3613.8060608@hiwaay.net> References: <540F26AC.7040309@hiwaay.net> <20140909182735.2bb371c5.freebsd@edvax.de> <540F3613.8060608@hiwaay.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 09 Sep 2014 12:17:07 -0500, William A. Mahaffey III wrote: > I think I have that point (matching names in rc.conf & hosts) covered: > > > [root@kabini1, /etc, 12:14:40pm] 407 % grep -i kabini rc.conf hosts > rc.conf:hostname="kabini1" > hosts:192.168.0.27 jaguar kabini1 > [root@kabini1, /etc, 12:14:41pm] 407 % Yes, which means no: There's no entry for 127.0.0.1 for that host. Local sendmail is listening on that IP. Also read "man 5 hosts" about what the fields of this file, separated by spaces, indicate: <IP> <official host name> <alias(es)> As you can see, "jaguar", the official host name as per hosts file, does not match the hostname "kabini1" set in rc.conf. In order to have several names for one IP (which is possible and valid), you can simply add more than one entry for each IP, for example: 127.0.0.1 localhost.local localhost 127.0.0.1 kabini1.local kabini1 192.168.0.27 kabini1.local kabini1 192.168.0.27 jaguar.local jaguar You can check if your settings are correct by testing them with the "host <name>" command. > but w/ no domain name .... I'll try jaguar.local in hosts & see how that > goes .... Thx :-) .... The domain name isn't essentially required, but it does not harm to define one. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140909213532.34f02807.freebsd>