3 ms·
The accepts_mail test seems flawed; a domain with no MX records can still accept mail (the spec requires an MTA to connect to the IP address in the A/AAAA recor
by jhugo 5y ago
The accepts_mail test seems flawed; a domain with no MX records can still accept mail (the spec requires an MTA to connect to the IP address in the A/AAAA record of the domain part of the mail address in this case).
All MTAs that I’m aware of support this, and it’s moderately common on personal domains with a single self-hosted MX, rare as those are these days.
- LeonM 5y agoInteresting! I did not know this For those wondering, this is actually specified in rfc5321 section 5: If an empty list of MXs is returned, the address is treated as if it was associated with an implicit MX RR, with a preference of 0, pointing to that host. https://datatracker.ietf.org/doc/html/rfc5321#section-5 https://datatracker.ietf.org/doc/html/rfc5321#section-5