Home | Sitemap | Recent Changes | Login

SPF Logo

Sender Policy Framework

History of Introduction


Revision 21 . . (edit) 2010-04-17 16:36 (UTC) by Julian Mehnle
Revision 20 . . (edit) 2008-05-11 20:45 (UTC) by Julian Mehnle
Revision 19 . . (edit) 2008-05-04 9:31 (UTC) by Frank Ellermann [replace support link by a link to the Google subpage (simplifying future maintenance)]
Revision 18 . . (edit) 2008-05-04 9:16 (UTC) by Frank Ellermann ["contact support" is good and can be as simple as the (added) link]
Revision 17 . . (edit) 2008-04-23 8:47 (UTC) by Rob MacGregor
Revision 16 . . (edit) 2006-11-09 16:15 (UTC) by Julian Mehnle
Revision 15 . . 2006-06-20 18:32 (UTC) by Julian Mehnle ["SPF is an [[Wikipedia:Open standard|open standard]]..."]
Revision 14 . . 2006-05-11 3:14 (UTC) by Julian Mehnle [TEMP: temporarily removed the link to the "Vision" page (which does not yet exist) -- this needs to be undone later!]
Revision 13 . . (edit) 2006-05-09 23:16 (UTC) by Julian Mehnle
Revision 12 . . (edit) 2006-05-09 22:41 (UTC) by Julian Mehnle
Revision 11 . . (edit) 2006-05-09 22:41 (UTC) by Julian Mehnle
Revision 10 . . (edit) 2006-05-09 22:38 (UTC) by Julian Mehnle
Revision 9 . . (edit) 2006-05-09 22:38 (UTC) by Julian Mehnle
Revision 8 . . 2006-05-09 22:34 (UTC) by Julian Mehnle [added "Receiver-side Checking" section]
Revision 7 . . (edit) 2006-05-09 22:20 (UTC) by Julian Mehnle
Revision 6 . . (edit) 2006-05-09 22:14 (UTC) by Julian Mehnle
Revision 5 . . (edit) 2006-05-09 21:03 (UTC) by Julian Mehnle
Revision 4 . . 2006-05-09 19:06 (UTC) by Julian Mehnle [added "Solution" and "Example" sections]
Revision 3 . . (edit) 2006-05-09 16:38 (UTC) by Julian Mehnle
Revision 2 . . (edit) 2006-05-09 16:28 (UTC) by Julian Mehnle
Revision 1 . . 2006-05-09 16:26 (UTC) by Julian Mehnle [created page]
  

Difference (from prior major revision) (minor diff, author diff)
Paragraph 20Paragraph 20

The ''Sender Policy Framework (SPF)'' is a technical method to prevent sender address forgery.  More precisely, the [[Specifications|current version of ''SPF'']] --- called ''SPFv1'' or ''SPF Classic'' --- protects the ''envelope sender address'', which is used for the delivery of messages.  See the box on the right for a quick explanation of the different types of sender addresses in e-mails.

The ''Sender Policy Framework (SPF)'' is an [[Wikipedia:Open standard|open standard]] specifying a technical method to prevent sender address forgery.  More precisely, the [[Specifications|current version of ''SPF'']] --- called ''SPFv1'' or ''SPF Classic'' --- protects the ''envelope sender address'', which is used for the delivery of messages.  See the box on the right for a quick explanation of the different types of sender addresses in e-mails.

Paragraph 22Paragraph 22

Even more precisely, ''SPFv1'' allows the owner of a domain to specify their mail sending policy, e.g. which mail servers they use to send mail from their domain.  The technology requires two sides to play together: '''(1) the domain owner publishes''' this information in an ''SPF'' record in the domain's [[Wikipedia:Domain Name System|DNS]] [[Wikipedia:Domain Name System#How the DNS works in theory|zone]], and when someone else's mail server receives a message claiming to come from that domain, then '''(2) that receiving server can check''' whether the message complies with the domain's stated policy.  If, e.g., the message comes from an unknown server, it can be considered a fake.

Even more precisely, ''SPFv1'' allows the owner of a domain to specify their mail sending policy, e.g. which mail servers they use to send mail from their domain.  The technology requires two sides to play together: '''(1) the domain owner publishes''' this information in an ''SPF'' record in the domain's [[Wikipedia:Domain Name System|DNS]] [[Wikipedia:DNS zone|zone]], and when someone else's mail server receives a message claiming to come from that domain, then '''(2) the receiving server can check''' whether the message complies with the domain's stated policy.  If, e.g., the message comes from an unknown server, it can be considered a fake.

Paragraph 25Paragraph 25

Let's look at an example to give you an idea of how ''SPF'' works.  Bob owns the domain <tt>example.net</tt>.  He also sometimes sends mail through his GMail account.  Since he often receives bounces about messages he didn't send, he decides to publish an SPF record in order to reduce the abuse of his domain in e-mail envelopes:

Let's look at an example to give you an idea of how ''SPF'' works.  Bob owns the domain <tt>example.net</tt>.  He also sometimes sends mail through his [[Frank_Ellermann/Google|GMail]] account and contacted GMail's support to identify the correct SPF record for GMail.  Since he often receives bounces about messages he didn't send, he decides to publish an SPF record in order to reduce the abuse of his domain in e-mail envelopes:



> <pre>example.net.  TXT  "v=spf1 mx a:pluto.example.net include:gmail.com -all"</pre>

> <pre>example.net.  TXT  "v=spf1 mx a:pluto.example.net include:aspmx.googlemail.com -all"</pre>

Paragraph 31Paragraph 31

| <code>include:gmail.com</code> | everything considered legitimate by <tt>gmail.com</tt> is legitimate for <tt>example.net</tt>, too |

| <code>include:aspmx.googlemail.com</code> | everything considered legitimate by <tt>gmail.com</tt> is legitimate for <tt>example.net</tt>, too |

Paragraph 33Paragraph 33

This example demonstrates but a small part of ''SPF's'' expressiveness.  Do <u>not</u> take it as a guideline for building your own record --- things might not work out as you expect and legitimate messages might get blocked!  Instead, learn more about the [[SPF Record Syntax|record syntax]], or get the complete picture by studying the [[Specifications|full specification]].  [[Support|Community support]] is available.

This example demonstrates but a small part of ''SPF's'' expressiveness.  Do <strong>not</strong> take it as a guideline for building your own record --- things might not work out as you expect and legitimate messages might get blocked!  Instead, learn more about the [[SPF Record Syntax|record syntax]], or get the complete picture by studying the [[Specifications|full specification]].  [[Support|Community support]] is available.

Paragraph 35Paragraph 35

The domain sender policies alone are not worth much --- it is the receiving mail servers that need to enforce them.  Most mail servers do not yet support ''SPF'' checking natively, however there are [[Implementations|extensions]] for most open-source MTAs and many commercial ones.  Again, you can get [[Support|community support]].

The domain sender policies alone are not worth much --- it is the receiving mail servers that need to enforce them.  Most mail servers support ''SPF'' checking either natively or through [[Implementations|extensions]].  Again, you can get [[Support|community support]].