Date: Fri, 28 Dec 2007 13:40:57 -0700 From: Andrew Falanga <af300wsm@gmail.com> To: Derek Ragona <derek@computinginnovations.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How to make sendmail listen on an address other than the loopback Message-ID: <200712281340.57843.af300wsm@gmail.com> In-Reply-To: <6.0.0.22.2.20071228122316.02469808@mail.computinginnovations.com> References: <200712281033.40654.af300wsm@gmail.com> <6.0.0.22.2.20071228122316.02469808@mail.computinginnovations.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 28 December 2007 11:24:50 Derek Ragona wrote: > At 11:33 AM 12/28/2007, Andrew Falanga wrote: > >Hi, > > > >I'm trying to get an e-mail system working for my church > >(whitneybaptist.org). > >I've added a file called local-host-names in /etc/mail as described in the > >Handbook, then did "/etc/rc.d/sendmail restart" and then did "sockstat | > > grep sendmail" and got the following results: > > > >root sendmail 32889 3 tcp4 127.0.0.1:25 *:* > >root sendmail 32889 4 dgram -> /var/run/logpriv > >smmsp sendmail 696 3 dgram -> /var/run/log > > > > > >Now, with the exception of the additional file, nothing has been done to > > this stock sendmail configuration (system is 6.2-RELEASE-p7). How would > > I make sendmail listen on the ip of 192.168.2.23? I do have some > > experience with sendmail, however, it was several years ago and I've > > forgotten quite a bit. Why isn't it listening on that address now? > > > >Andy > > Take a look at your settings for sendmail in /etc/rc.conf vs > /etc/default/rc.conf > > You need two instances of sendmail running, one for local delivery, another > for external mail send receive. > > -Derek Derek, Thank you. Interesting that the Handbook didn't mention it. At least, this section didn't mention it and this is what I was looking to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html Thanks again. I set "sendmail_enable='YES'" in /etc/rc.conf (per instructions to leave alone /etc/defaults/rc.conf) and then did /etc/rc.d/sendmail restart and it worked. Andy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712281340.57843.af300wsm>