Date: Tue, 06 Dec 2005 10:54:53 -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: <BFBB1E7D.378B%chowse@charter.net> In-Reply-To: <20051206164519.GA15738@flame.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 2005-12-06 10:35, Charles Howse <chowse@charter.net> wrote: >> Hi, >> >> I want to collect mail for FreeBSD user charles on my Mac. >> >> The hostname of my FreeBSD box is: >> moe.local >> >> User charles has an account, has been added to the qpopper authentication >> database, and sendmail_enable="NO" is in /etc/rc.conf. >> >> In /etc/mail/local-host-names, I have: >> moe.local >> larry.local >> local >> >> It's working, but I think I have too many entries in local-host-names. >> What entries are necessary? > > If your local hostnames are listed as names of one of the local IP > addresses in your /etc/hosts, then none is needed. Sendmail will > discover the local addresses on its own. Not quite sure I understand. Here is /etc/hosts from FreeBSD: [charles@moe:~]$ cat /etc/hosts ::1 localhost.local localhost 127.0.0.1 localhost.local localhost 192.168.254.4 moe.local moe 192.168.254.4 moe.local. 192.168.254.3 larry 192.168.254.3 larry.local Are you saying that since I have larry.local in /etc/hosts, then I don't need anything at all in local-host-names? For clarity, I'm doing local mail only, no Internet mail.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFBB1E7D.378B%chowse>