Sendmail not accepting connections on port 25
Jamie Paul Griffin
jpg at gnix.co.uk
Tue Jul 19 20:39:28 UTC 2011
On Tue, Jul 19, 2011 at 04:27:14PM -0400, Lowell Gilbert wrote:
> ssgriffonuser <ssgriffonuser at gmail.com> writes:
>
> > I'm having difficulty getting sendmail set up on my server. I can
> > send and receive to localhost and I can send to external networks but
> > I can not receive from external networks (I receive a 550: Address
> > rejected). Netstat says sendmail is listening on port 25 but I cannot
> > telnet to it.
> > When I do a port scan of the server, nmap does not show anything on
> > port 25 but does show smtp on 587.
>
> How did you start sendmail? The daemon doesn't run by default; perhaps
> you forgot to enable it in rc.conf? There's a manual for rc.sendmail(8)
> which describes the options for that...
Yes check /etc/rc.conf as pointed out above, I had missed that initially as well and took me a few minutes to realise what i'd missed.
sendmail_enable="YES"
sendmail_submit_enable="YES"
Should be all you need as well as your settings in the .cf file.
More information about the freebsd-questions
mailing list