sendmail only listening on localhost

Jeff Wirth jeff.wirth at gmail.com
Mon Mar 28 08:55:47 PST 2005


>On Mon, 28 Mar 2005 17:25:43 +0100, Simon Ironside
<sironside at interfone.net> wrote:
> Hi all,
> 
> I have a default sendmail instance on FreeBSD 5.3, the SMTP service only seems to be listening on localhost:
> 
> netstat -al | grep smtp
> tcp4       0      0  localhost.smtp         *.*                    LISTEN
> 
> I can connect locally using telnet localhost 25 but I cannot connect using telnet 10.99.0.2 25.
> 

I believe the default settings in rc.conf for sendmail has gone
through some changes in 5.x.   The default behavior in 4.x was to
allow inbound connections for sendmail, which has changed to local
connections only in 5.x

Adding the follow to rc.conf should fix the problem...

     sendmail_enable="YES"    # Run the sendmail inbound daemon (YES/NO).

-jw


More information about the freebsd-questions mailing list