Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2016 14:39:17 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        mexas@bris.ac.uk, freebsd-questions@freebsd.org
Subject:   Re: sendmail config help
Message-ID:  <568BD595.6070500@FreeBSD.org>
In-Reply-To: <201601051413.u05EDiRX065867@mech-as222.men.bris.ac.uk>
References:  <201601051413.u05EDiRX065867@mech-as222.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--sNQbL5kvj4DwqOKC9s68qFucwcpXhAn46
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 05/01/2016 14:13, Anton Shterenlikht wrote:
> Matthew, thank you, that solved the problem.

Cool.

>> >Personally, I'd name the mail server as 'smtp.z.com' and use an MX
>> >record to direct the mail to it.  That's pretty standard and it will
>> >help avoid your messages getting classed as spam.

> Sorry, I don't understand this fully.
>=20
> After I set smtp.z.com in MX record,
> do I need to change anything on the server side
> for this to work?
>=20
> I naively thought that using smtp.z.com makes
> sense only if it refers to physically diffent
> host than z.com. Am I wrong?

Yes -- as I said, you /can/ do without an MX record if you want to.
However, I recommend that you do always have an MX record: it basically
makes it transparently obvious to people that might want to exchange
e-mail with you that you intended for this host to handle SMTP traffic.
 In fact, even if your mail host uses just the domain as its hostname,
I'd still have

z.com. IN MX 0 z.com.

Which looks entirely redundant, but the reason to have it is more social
and reputational rather than technical.

> Sorry for taking your time.
> Perhaps you can point to a good background
> reading on this. I'm lost in multitude of
> advice on the net.

Given you've an ac.uk address, try finding the O'Reilly Sendmail book in
the library there.  It's a bit of a doorstop, but a lot of it consists
of enumerating various different options -- reference stuff, rather than
instructional material.  Not sure if it's still available to buy, but
that is probably the best guide to Sendmail you'll find.

For quick reference I find /usr/share/sendmail/cf/README is actually
pretty good.

	Cheers,

	Matthew



--sNQbL5kvj4DwqOKC9s68qFucwcpXhAn46
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

iQJ8BAEBCgBmBQJWi9WVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATp/MQAKgxYTahRs8FxpEZyiMFthpV
Uc7dqVC+sW+QKQ8pxoURhaefya9arG6Yz/gGJX+XkB8kuvTESYScZzg/TIeG+/t2
rNH+9TvMlji4aeQ7HpL15WsUeK/OHyZhhYIt6DOCnXWylxhdPq2MXavBe6PtLSbx
rw4OAFdymwLf0VOxgaabSsR+HneDGzhtEtbJg0l1PdaqX63Zz6Si5y4Sr2/hn6Pu
Spdy27QHJNTIWd/Lg3YqT+rW/m1UolkkJbAG2tvQ6Bh62wQDACT/yMlNxXtXKIFr
OCcAzl/KQNIlfY2jk0vymFlblZ5VVe/YggeKV6yVnq0+IVVIrR631Bi1LcHkzjHx
wGeheCbnaMnXgmeaNgqFIb009NQs1jrxoa0DjtgBwvxG1YUGJSilwh+xid6EfnbD
HiTDFwmG3iYanZZFEho0BIzTFu5j+gpO8sK7zr566cB+EUcA7U96d5R5kyZMHj9z
Zq8z4p5jNzVgPRY1qkrK+NzjhCrn6xWw9L3Bdq3AEIKy/NoEw7rvMl0NJo5v2kE1
6q3Nfc/IGTw3B6Hb8eGVO2q3NL4+MceCDG7KfimoflyWVjnghrUSuhFwVQliMtbc
/FDf6N/NRtVe2uaX8N6LHkOyEx2MibCrqamqMKoHuSKCW7Puen+O6eB569aRhy3r
TC0R/ZKRMvP8tE+6YsLm
=lnqB
-----END PGP SIGNATURE-----

--sNQbL5kvj4DwqOKC9s68qFucwcpXhAn46--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?568BD595.6070500>