Date: Tue, 19 Jul 2011 21:39:26 +0100 From: Jamie Paul Griffin <jpg@gnix.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Sendmail not accepting connections on port 25 Message-ID: <20110719203926.GA99344@think.gnix.co.uk> In-Reply-To: <44bowqhv8d.fsf@be-well.ilk.org> References: <4E252C5E.8090803@gmail.com> <44bowqhv8d.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 19, 2011 at 04:27:14PM -0400, Lowell Gilbert wrote: > ssgriffonuser <ssgriffonuser@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110719203926.GA99344>