Home | Sitemap | Recent Changes | Login

SPF Logo

Sender Policy Framework

History of FAQ/Implicit MX rule


Revision 3 . . 2007-05-14 13:04 (UTC) by Julian Mehnle [overhaul]
Revision 2 . . (edit) 2006-03-11 18:36 (UTC) by Scott Kitterman
Revision 1 . . 2006-03-11 18:36 (UTC) by Scott Kitterman
  

Difference (from prior major revision) (no other diffs)
Paragraph 1Paragraph 1

== What about the simple case (implicit mx rule)?

== What about the ''"implicit MX"'' rule?



When a domain has no MX records, we assume that an A record will suffice.

When a domain has no <tt>MX</tt> records, SMTP ([[http://tools.ietf.org/html/rfc2821#section-5|RFC 2821, section 5]]) assumes that an <tt>A</tt> record will suffice.



SPF can be similarly intuited. Mail::SPF::Query provides a [[FAQ/Best_guess_record|"Best Guess"]] method, which pretends the domain has "a/24 mx/24 ptr" defined. Even in the absence of SPF data, we can suggest that a transaction is legitimate, (though we can't suggest that it is not legitimate, only that we don't know). And finding legitimate transactions helps other antispam approaches reduce false positives.

SPF can be similarly intuited.  Some SPF libraries provide a [[FAQ/Best_guess_record|"best guess"]] method, which pretends that domains without an SPF policy have a policy of "<tt>a/24 mx/24 ptr</tt>" defined.  Even in the absence of SPF data, we can suggest that a transaction is legitimate (although we can't suggest that it is ''not'' legitimate, only that we don't know).  And finding legitimate transactions helps other anti-abuse techniques reduce false positives.




''Note:''  The ''"implicit MX"'' rule defined by RFC 2821 is [[Google:implicit-MX|considered generally problematic]] by many.  For example, consider a mail server wanting to validate the mere "existence" of a domain used in an e-mail address.  Assuming the ''"implicit MX"'' rule applies, ''any'' domain name that has even just an <tt>A</tt> record (i.e. every host name!) has to be considered a valid e-mail domain, whereas probably less than 0.01% of those domain names are actually used as a sender address in e-mail.