From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 20:39:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A437F106566B for ; Tue, 19 Jul 2011 20:39:28 +0000 (UTC) (envelope-from jpg@gnix.co.uk) Received: from think.gnix.co.uk (griffin.gnix.co.uk [80.229.5.32]) by mx1.freebsd.org (Postfix) with ESMTP id D97DD8FC08 for ; Tue, 19 Jul 2011 20:39:27 +0000 (UTC) Received: from think.gnix.co.uk (localhost [127.0.0.1]) by think.gnix.co.uk (8.14.5/8.14.4) with ESMTP id p6JKdRx4099489 for ; Tue, 19 Jul 2011 21:39:27 +0100 (BST) (envelope-from jpg@gnix.co.uk) Received: (from jpg@localhost) by think.gnix.co.uk (8.14.5/8.14.4/Submit) id p6JKdQ7q099488 for freebsd-questions@freebsd.org; Tue, 19 Jul 2011 21:39:26 +0100 (BST) (envelope-from jpg@gnix.co.uk) X-Authentication-Warning: think.gnix.co.uk: jpg set sender to jpg@gnix.co.uk using -f Date: Tue, 19 Jul 2011 21:39:26 +0100 From: Jamie Paul Griffin To: freebsd-questions@freebsd.org Message-ID: <20110719203926.GA99344@think.gnix.co.uk> References: <4E252C5E.8090803@gmail.com> <44bowqhv8d.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44bowqhv8d.fsf@be-well.ilk.org> X-PGP-Key: http://www.gnix.co.uk/~jpg/jpg-pubkey.asc X-Operating-System: FreeBSD 8.2-STABLE X-URL: http://www.gnix.co.uk/~jpg/ User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Sendmail not accepting connections on port 25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 20:39:28 -0000 On Tue, Jul 19, 2011 at 04:27:14PM -0400, Lowell Gilbert wrote: > ssgriffonuser 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.