From owner-freebsd-questions@FreeBSD.ORG Mon Jun 1 21:08:39 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B043E76F for ; Mon, 1 Jun 2015 21:08:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3064F199D for ; Mon, 1 Jun 2015 21:08:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t51L8RVm054423 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 1 Jun 2015 22:08:27 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t51L8RVm054423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1433192907; bh=Zs06vnPr3ITkPO6n1l+H5Dm9a+rzkplCC+YWTgkpdhg=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2001=20Jun=202015=2022:08:17=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20best=20options=20for=20a=20*WORKI NG*=20MTA|References:=20=20=20<20150601145425.20b56f3a@seibe rcom.net>=20=20<556CAD9A.6040005@radel.com>=20=20<3740 0.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu>=20|In-Rep ly-To:=20; b=rvcUoabd+NMeQ5uYjhg7RVsIFeH8OQL2tBD1riCAEdHV5rGkL+5WJRwv9Bs9ty2Wd IYupq6v11+ZmdT4U3hzWs58OZ2rHkvlvaxqbT6nN+eG9uxPMwBhsUm+FRo8t6qeCRP P1vuQxfY2mRbSzpfugmMvwR08X45uMnv1kBFyk00= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Message-ID: <556CC9C1.7080903@infracaninophile.co.uk> Date: Mon, 01 Jun 2015 22:08:17 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: best options for a *WORKING* MTA References: <20150601145425.20b56f3a@seibercom.net> <556CAD9A.6040005@radel.com> <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ouIBQBibweUvMSeg2P6XFToCUeK67RAVG" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 21:08:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ouIBQBibweUvMSeg2P6XFToCUeK67RAVG Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/06/2015 20:39, Aryeh Friedman wrote: > Then tell me how this is not broken when the default behaviour (even af= ter > editing local-host-names): >=20 > from Localhost: > telnet localhost 25 > [standard SMTP output] >=20 > from any other machine: > telnet mailserver 25 > connection refused >=20 > and no where in the handbook or documentation does it a) say this is th= e > default behavior and b) how to fix it with installing SASL or something= > else from ports (violating the idea that the base system works out of t= he > box with no additions) local-host-names has nothing to do with what network interfaces and ports sendmail will listen on. The default setting using the stock sendmail with 'sendmail_enable=3D"NO"= ' is to run sendmail bound to the loopback interface. This means you can send e-mail but not receive it on a machine. To disable sendmail completely you need 'sendmail_outbound_enable=3D"NO"'= This is documented in rc.sendmail(8) Now, making sendmail work as an MTA to receive incoming e-mails is more complex. I will happily explain, but as it seems that you have managed to make exim do what you want, I shall forbear to do so unless requested.= Other than to confirm that while the stock sendmail will both send and receive e-mail, you will certainly need to compile SASL functionality into it (or simply use the ports version of sendmail) if you want to be able to authenticate users eg. for submitting new messages. The stock sendmail in the base system is poorly configured for use as a personal MT= A. Personally I'd just install postfix -- I'm a recent convert -- as it makes much more sense to me than either sendmail or exim, but whatever floats your boat. Cheers, Matthew --ouIBQBibweUvMSeg2P6XFToCUeK67RAVG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJVbMnJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATcRYP/22zWP8nsBLVZl1T11wuzRo/ H/8LnbE0wyLx4GFQ5MIcLmcSCVI4UeUC7qfVrpw2QQiv98ZGtQjQshF/c63f/Ybt ayFKyoHTZ1aH495OMXWC463bVjiVkhE09cgmF3Y8X2AMkDCs0y8Z9WmRaI8k70Iw L2QTiyrYUmITagSwiiv+eqTb2UwWAH4rC9S7DLX/b17+1TzpTLBmUKB/BxtBILyM xTC5G5lYeX0XUl7MKqWUnEOy+1HAZDFZP82SrM57RqfXuAZyC/D4KnOxxNAmdX7I YhhC2kEIeHRudc5o8I3irUOkT366Qip0zb1Uglv95VsdhOkyiL7USw+jCIODrb/X ih04428YJiK2COsDlzKAGbA72PeE2rRzQH5cHek5QyWKVjT4mfpOFW+BwMGTaFot DEFV5TA/9HCRC9lYnA5c4TljxEzlrG6RniLBx51It7P5Gg3drs97u+gEsuXVG3TU Keo98TzbDBAC2K2U8O1JkavxsByS9/sXm3HP0BiyedwtFdUsWczhEqTVll7yCZCv aZouDojQB2vuXVcUDbQ3Ivs1vVV9vwLoqSczKOAMUEwlojUKDBGSdANZflOiXaQ/ U9SDx2aZhG1L5jblDGLx36UxcP7rKNZt7YOGMELTkF5OhMOTFoTeQ/Sy0nHrJpxq xYoy6VprpKBp1ULAJX3p =vnG6 -----END PGP SIGNATURE----- --ouIBQBibweUvMSeg2P6XFToCUeK67RAVG--