path: root/e-post
diff options
authorGuilhem Moulin <>2014-07-14 07:00:02 +0200
committerGuilhem Moulin <>2014-07-14 07:03:31 +0200
commit0d3b5bb8a4a2bceb50250d43eb3fad2fcfca2c5d (patch)
treed3917209176514d5fa8f28e56130f2205c4e301e /e-post
parentcaa17db923ae3cd04ed148a24dd9e1f2580ddcfb (diff)
Mention SPF.
Diffstat (limited to 'e-post')
1 files changed, 62 insertions, 0 deletions
diff --git a/e-post/doman.mdwn b/e-post/doman.mdwn
index e1bb123..e48c93a 100644
--- a/e-post/doman.mdwn
+++ b/e-post/doman.mdwn
@@ -134,3 +134,65 @@ might be emphasized by the receiver's mail client (GMail
instance). This doesn't really disclose anything as our domain can be
found in the mail header anyway, but if you prefer to have your own key
drop us a line, we will find something out.
+## Should I publish a SPF (Sender Policy Framework) record for my domain?
+The [Wikipedia page](
+has a nice introduction to SPF; other references include the
+"official" [SPF page]( and RFCs
+[4408]( and
+`` currently uses the following policy:
+ $ dig +short TXT
+ "v=spf1"
+ $ dig +short TXT
+ "v=spf1 a ?all"
+What it says is that `` is authorized to send mails
+`` (more precisely, that the authorized sending hosts' IPs
+can be found in the A and AAAA records for ``).
+This host is used whenever you use our Mail Submission agent or webmail
+for instance; if a message from a `` address is being sent
+from another host, the `?all`
+(aka [NEUTRAL]( says that we
+don't know whether the host is authorized or not, and that the receiver
+should proceeed as if there wasn't an SPF policy. With that information
+at hand, the recipient may decide to classify the message as SPAM or HAM
+for instance.
+If you have your own domain and use Fripost's infrastructure to send
+mails, you can point your domain to our policy, too. Here are a few
+possible senarios:
+ IN TXT "v=spf1"
+Here `` is merely copying Fripost's policy.
+ IN TXT "v=spf1 -all"
+Here the policy says that mails `` should PASS if they're
+being accepted by Fripost's policy, that is if the sender host is
+`` and FAIL otherwise (where Fripost's policy would
+return NEUTRAL). Note however that DNS is spoofable, and as
+unfortunately Fripost doesn't use DNSSEC at the moment, an attacker
+could for instance poison the DNS cache and fake the reply for
+``'s TXT record.
+ IN TXT "v=spf1 a -all"
+Here the policy is similar to the one before, but in addition the A and
+AAAA records for `` are also allowed to send mails for that
+domain. (For instance you have your own mail server, and use that of
+Fripost as a backup; or vice-versa.)
+Whichever SPF policy you choose, be sure to test it! Please read
+OpenSPF's [FAQ](,
+[Common Mistakes]( and
+[Best Practices]( pages.
+There are e-mail based SPF testers; unfortunately the "official"
+`` doesn't work anymore, but you can use
+for instance.