All terms
Glossary · SPF details
SPF mx
mx is the SPF mechanism that matches when the sending IP address is the address of one of a domain’s MX servers (RFC 7208 §5.4).
By: Kemal Özleyen, Cybersecurity Engineer · Check Point Workspace Security Expert · Kinetik Bilişim
How it works
Evaluation first looks up the MX records, then the addresses of each MX name. At most 10 address lookups are allowed per mechanism; beyond that the result is permerror. If the domain has no MX record, the implicit-MX rule of mail delivery is not applied here and the mechanism does not match.
mx makes sense only where the same servers carry both incoming and outgoing mail. On a domain whose incoming mail goes to a cloud platform or a security gateway, mx can authorise servers that should not be allowed to send.
Example record
ornek.com.tr. TXT "v=spf1 mx -all"
Last updated: