[Mimedefang] sending relay has no MX record?

Adam Lanier adam at krusty.madoff.com
Mon Jan 31 11:56:28 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin A. McGrail wrote:
|>If the sending domain lacks both an MX and an A record, then Sendmail
|>will not accpet mail from that domain unless you've enabled
|>FEATURE(`accept_unresolvable_domains')
|>
|>AFAIK, no modern UNIX systems come with that feature enabled by default.
|
|
| Exactly.  My point was that an A record is all that is needed.  You don't
| HAVE to have an A and an MX record to be RFC compliant AFAIK.  Testing to
| see if someone has an MX record and an A record is not a valid test of a
| legit mail server.
|
| Regards,
| KAM

Technically, a server can generate mail (legally according to RFC's)
without having an MX record.  Only servers that RECEIVE mail need to
have an MX record.

What needs to be in place is a valid return path for the mail that is
generated.  So, while server 'mailout.example.com' can generate mail
from the domain 'example.com' with only an A record, some server
somewhere SHOULD (again, according to RFC's) have an MX record for the
domain 'example.com'.  If there is no MX record for the domain
'example.com' then the 'mailout.example.com' will be used as the return
path for the generated mail.  In this case, it had better be prepared to
accept the returned mail.

Unfortunately, many companies these days do not setup correct DNS
records for their mail servers.  It is not neccessarily a valid test to
check whether a given relay server has both A and MX records.  It may be
~  more appropriate to test whether a given server has both an A and a
PTR record that match and use this to modify the score for the message
although, again, in today's internet this isn't as likely to be setup
correctly.

- --
Adam Lanier
Bernard L. Madoff Investment Securities LLC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB/mM8yiJGTGcJL0cRAmLtAJ9uPYPVLxAtxI3MOpdxU3ml+9w3YgCdHvgs
zUZ3tDIZ0t41LfVXUL8ju3Y=
=f7w5
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list