Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2005 11:55:45 -0500
From:      Jeff Wirth <jeff.wirth@gmail.com>
To:        Simon Ironside <sironside@interfone.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sendmail only listening on localhost
Message-ID:  <5d2cf6920503280855747c4f79@mail.gmail.com>
In-Reply-To: <FEBBEDD5F2D52146B718D640D434205D013A4D@dicto.interfone.net>
References:  <FEBBEDD5F2D52146B718D640D434205D013A4D@dicto.interfone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>On Mon, 28 Mar 2005 17:25:43 +0100, Simon Ironside
<sironside@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5d2cf6920503280855747c4f79>