Home | Sitemap | Recent Changes | Login

SPF Logo

Sender Policy Framework

History of Related Solutions


Revision 35 . . 2014-04-26 1:47 (UTC) by Scott Kitterman [Updated 2821/2822 references, titivated some of the text and added a section on DMARC.]
Revision 34 . . (edit) 2010-04-21 12:31 (UTC) by Julian Mehnle
Revision 33 . . 2008-08-20 3:57 (UTC) by Frank Ellermann [added external view as summary]
Revision 32 . . (edit) 2008-08-01 1:04 (UTC) by Frank Ellermann [Links to Research and Statistics]
Revision 31 . . (edit) 2008-05-04 11:00 (UTC) by Frank Ellermann [cross link ADSP + DKIM]
Revision 30 . . 2008-05-04 10:54 (UTC) by Frank Ellermann [s/SSP/ADSP/ in the DKIM proper section]
Revision 29 . . (edit) 2008-05-04 10:42 (UTC) by Frank Ellermann [use italics for the acronyms, but not for TXT vs. SPF records]
Revision 28 . . (edit) 2008-05-04 10:31 (UTC) by Frank Ellermann [xml comment works only within html wiki markup ]
Revision 27 . . 2008-05-04 10:29 (UTC) by Frank Ellermann [add caveat about wildcard records to ADSP]
Revision 26 . . 2008-05-04 10:02 (UTC) by Frank Ellermann [use better IETF WG links incl. DKIM, add ADSP]
Revision 25 . . (edit) 2008-03-20 15:04 (UTC) by Frank Ellermann [Updating all those 2821 and 2822 will be fun]
Revision 24 . . (edit) 2008-03-20 14:59 (UTC) by Frank Ellermann [s/2440/4880/ and similar changes]
Revision 23 . . 2007-01-05 18:48 (UTC) by Scott Kitterman [Removed CSV reference since that project has been shut down.]
Revision 22 . . (edit) 2006-12-10 16:13 (UTC) by Julian Mehnle
Revision 21 . . (edit) 2006-10-28 21:31 (UTC) by Julian Mehnle
Revision 20 . . 2006-05-31 23:47 (UTC) by Scott Kitterman
Revision 19 . . (edit) 2006-05-26 3:34 (UTC) by Julian Mehnle
Revision 18 . . (edit) 2006-05-25 3:57 (UTC) by Julian Mehnle
Revision 17 . . (edit) 2006-05-25 3:01 (UTC) by Julian Mehnle
Revision 16 . . (edit) 2006-05-25 2:00 (UTC) by Julian Mehnle
Revision 15 . . 2006-05-25 1:58 (UTC) by Julian Mehnle [major improvements]
Revision 14 . . 2006-05-16 6:33 (UTC) by Stuart Gathman [*SPF as front-line defense]
Revision 13 . . 2006-05-16 6:23 (UTC) by Stuart Gathman [*PGP description]
Revision 12 . . 2006-05-12 16:22 (UTC) by Stuart Gathman
Revision 11 . . 2006-05-12 15:52 (UTC) by Stuart Gathman
Revision 10 . . 2006-05-12 15:50 (UTC) by Stuart Gathman
Revision 9 . . 2006-05-12 15:49 (UTC) by Stuart Gathman [*Division into author/sender protection. Brief S/MIME description.]
Revision 8 . . 2006-05-08 11:35 (UTC) by Julian Mehnle [brushed up formatting; added links to the other projects' websites]
Revision 7 . . 2006-05-08 6:15 (UTC) by Stuart Gathman
Revision 6 . . (edit) 2006-05-08 6:04 (UTC) by Stuart Gathman
Revision 5 . . (edit) 2006-05-08 6:02 (UTC) by Stuart Gathman
Revision 4 . . 2006-05-08 4:51 (UTC) by Stuart Gathman
Revision 3 . . 2006-05-08 4:36 (UTC) by Stuart Gathman
Revision 2 . . 2006-05-08 4:34 (UTC) by Stuart Gathman
Revision 1 . . 2006-05-08 4:18 (UTC) by Stuart Gathman [*Still a work in progress]
  

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

There are other e-mail authentication protocols besides ''SPF''.  They differ in  which addresses ''(identities)'' they authenticate and how they do it.  In order to understand how the various protocols relate to each other, you need to understand the various parts of which e-mail messages are made.  As the figure shows, a message has an ''envelope'' (representing the SMTP transaction, see [[RFC:2821|RFC 2821]]), a ''header'' (see [[RFC:2822|RFC 2822]]), and a ''body'' (which contains the actual text of the message and any attachments).

There are other e-mail authentication protocols besides ''SPF''.  They differ in  which addresses ''(identities)'' they authenticate and how they do it.  In order to understand how the various protocols relate to each other, you need to understand the various parts of which e-mail messages are made.  As the figure shows, a message has an ''envelope'' (representing the SMTP transaction, see [[RFC:5321|RFC 5321]]), a ''header'' (see [[RFC:5322|RFC 5322]]), and a ''body'' (which contains the actual text of the message and any attachments).

Paragraph 14Paragraph 14

Although ''Sender ID'' uses DNS records with a nearly identical syntax to ''SPF'', and even uses the letters "SPF" in its version string ("<u><tt>spf2.0/pra</tt></u>"), it is not the same protocol because it authenticates the PRA header identity, whereas ''SPF'' authenticates the envelope <tt>MAIL FROM</tt> identity.  ''Sender ID'' is compatible with ''SPF'' as long as there is no confusion as to which DNS records refer to which protocol.  Unfortunately, RFC 4406 recommends using ''SPF's'' <tt>v=spf1</tt> records for PRA checks as well as <tt>MAIL FROM</tt> checks.  See [[SPF vs Sender ID]] for a detailed explanation on the confusion over ''SPF'' and ''Sender ID''.

Although ''Sender ID'' uses DNS records with a nearly identical syntax to ''SPF'', and even uses the letters "SPF" in its version string ("<u><tt>spf2.0/pra</tt></u>"), it is not the same protocol because it authenticates the PRA header identity, whereas ''SPF'' authenticates the envelope <tt>MAIL FROM</tt> identity.  ''Sender ID'' is compatible with ''SPF'' as long as there is no confusion as to which DNS records refer to which protocol.  Unfortunately, RFC 4406 recommends using ''SPF's'' <tt>v=spf1</tt> records for PRA checks as well as <tt>MAIL FROM</tt> checks.  See [[SPF vs Sender ID]] for a detailed explanation on the confusion over ''SPF'' and ''Sender ID''.

Today it is little used.  Even Microsoft has migrated away from using Sender ID.

==== [[http://tools.ietf.org/wg/dkim|Author Domain Signing Practices]] (<html><a name=ADSP" id="ADSP">ADSP</a></html>)

==== [[http://tools.ietf.org/wg/dkim|Author Domain Signing Practices]] (<html><a name=ADSP" id="ADSP">ADSP</a></html>)

[[Wikipedia:Author Domain Signing Practises|ADSP]] is a protocol created by the IETF DKIM WG, see [[#DKIM|below]]. Roughly it allows to state that '''all''' mails with a given domain in an author address, i.e. the [[RFC:2822|RFC 2822]] ''From'', are signed using DKIM, and additionally that other mails are '''discardable'''. The ''signing practices'' of say domain <tt>example.com</tt> are published in a [[DNS]] TXT record for <tt>_adsp._domainkey.example.com</tt>.

[[Wikipedia:Author Domain Signing Practises|ADSP]] was a protocol created by the IETF DKIM WG, see [[#DKIM|below]]. Roughly it allows to state that '''all''' mails with a given domain in an author address, i.e. the [[RFC:2822|RFC 2822]] ''From'', are signed using DKIM, and additionally that other mails are '''discardable'''. The ''signing practices'' of say domain <tt>example.com</tt> are published in a [[DNS]] TXT record for <tt>_adsp._domainkey.example.com</tt>.



Any wildcard TXT records for <tt>example.com</tt> would  belong to the same set of TXT records, and this set might be too big if it contains TXT records for ''SPF'', ''Sender ID'', and ''ADSP''. A workaround could be to '''move''' the rarely supported ''Sender ID'' policy to a wildcard SPF record, '''copy''' the ''SPF'' policy to another wildcard SPF record, and keep only the ''SPF'' policy and ''ADSP'' as wildcard TXT records. The fine print of wildcard records is explained in [[RFC:4592|RFC 4592]].  

==== [[http://www.dmarc.org|Domain-based Message Authentication, Reporting & Conformance]] (<html><a name=DMARC" id="DMARC">DMARC</a></html>)

[[Wikipedia:DMARC|DMARC]] is an attempt to address the shortfalls of ADSP and develop a higher level policy protocol that would be more broadly deployable. 

In addition to leveraging DKIM results, it uses SPF results to help determine if a mail is from an authorized source.  It combines the SPF/DKIM results with an identity alignement test (which requires the Mail From domain for SPF and the signing domain for DKIM to be the same as the body From domain) to impose restrictions related to the From domain.  If either SPF or DKIM pass/verify and are aligned, a message is DMARC authorized.



DMARC also adds both aggregated and per message feedback reporting to enable senders to assess the effectiveness of their ongoing email authentication operations.

> ''For more related solutions see the [[Wikipedia:Category:E-mail_authentication|E-mail authentication]] category on Wikipedia.''

> ''For more related solutions see the [[Wikipedia:Category:E-mail_authentication|E-mail authentication]] category on Wikipedia.''