Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 2015 22:08:17 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: best options for a *WORKING* MTA
Message-ID:  <556CC9C1.7080903@infracaninophile.co.uk>
In-Reply-To: <CAGBxaXkfkh3HsLOvHX%2BGbFpWCjaxHTajW5bqJ7sTnfcGgWU9%2BQ@mail.gmail.com>
References:  <CAGBxaXn2OLg0ON8-YsNQbSDnJ8jEyqV6gFJANVyvtGtURSo8eg@mail.gmail.com> <CAHieY7S4_Et6fwLiqCVHF_CarrYOJZN-OYumcJD1daL56HCe=A@mail.gmail.com> <20150601145425.20b56f3a@seibercom.net> <CAGBxaX=9QabXstsWa4HNk9kX9o4RW-5v5N8L=kRnv6qpOE0k0Q@mail.gmail.com> <556CAD9A.6040005@radel.com> <CAGBxaX=dC5iqCyDLAjPLeNQ1h3FFgDJKDHVPceU830E=RXk7_g@mail.gmail.com> <37400.128.135.70.2.1433187108.squirrel@cosmo.uchicago.edu> <CAGBxaXkfkh3HsLOvHX%2BGbFpWCjaxHTajW5bqJ7sTnfcGgWU9%2BQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



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