Käyttäjän työkalut

Sivuston työkalut


faq:dmarc_spf_considered_harmful

Erot

Tämä näyttää erot valitun ja nykyisen version kesken tästä sivusta.

Linkki vertailunäkymään

faq:dmarc_spf_considered_harmful [2017-12-02 18:09]
haa Muualle kirjoitettu kommentti iki:n sivulle
faq:dmarc_spf_considered_harmful [2018-12-12 00:09] (nykyinen)
petri.koistinen DKIM on OK.
Rivi 1: Rivi 1:
 ====== DMARC and SPF considered harmful ====== ====== DMARC and SPF considered harmful ======
 +
 +This page is also visible at http://​www.spfconsideredharmful.org ​
  
 DMARC and SPF break many long-time common email usage patterns like forwarding and mailing lists. ​ DMARC and SPF break many long-time common email usage patterns like forwarding and mailing lists. ​
- 
-If you set up DMARC with "​reject"​ you're in effect saying you don't want email from you to be delivered reliably. Same is true for dropping incoming messages based on DMARC or SPF alone, you're saying you don't want your users to receive some of their real emails. 
  
 Email is valuable because the user is in control, and these methods try to restrict what the user can do and lock-in the user to their ISP email account. ​ Email is valuable because the user is in control, and these methods try to restrict what the user can do and lock-in the user to their ISP email account. ​
Rivi 9: Rivi 9:
 The value of DMARC and SPF in fighting spam and domain misuse is also very limited and short lived, as the spammers very quickly adapt, so the end result is just to break email for many users without getting much in return. ​ The value of DMARC and SPF in fighting spam and domain misuse is also very limited and short lived, as the spammers very quickly adapt, so the end result is just to break email for many users without getting much in return. ​
  
-Please look at DKIM and better multi-method ​email filtering solutions instead.+Please look at DKIM and better multi-factor ​email filtering solutions instead
 + 
 +===== SPF does not protect against spam ===== 
 + 
 +  * SPF does not protect against SPAM 
 +  * SPF does not even try to do anything against SPAM 
 +  * SPF might accidently block some SPAM, but that is not its purpose 
 +  * SPF is trying to protect your service against spoofing attacks, i.e., someone claiming to be you and sending emails on your name. 
 +  * SPF does not protect you against [[https://​en.wikipedia.org/​wiki/​Internationalized_domain_name#​ASCII_spoofing_concerns|internationalized domain name]] look-alike domain phishing or spam 
 + 
 +===== Many internet users forward their emails ===== 
 + 
 +Surprisingly many internet users forward their emails, for example 
 +  * to read all their email from a single mailbox, 
 +  * forward email from old address to current mailbox address, 
 +  * temporarily forward emails to their mobile address while traveling, or  
 +  * use an email forwarding service as their permanent personal address (e.g. university alumni addresses such as alumni.mit.edu,​ professional organisations such as acm.org or ieee.org, iki.fi, and many others). 
 + 
 +Using the power of email like this is more common for experienced users, thought leaders and high value contacts and customers making it important that you consider the reliability of your email reaching the recipients. 
 + 
 +===== "​Fixes"​ that break things ===== 
 + 
 +There have been many projects that claim to //fix email// which do not take into account the many and varying ways people use email in the real world. The flexibility of the non-centralized email infrastructure is a major reason why email has been and is so successful, and many of these proposed schemes only work for those users who are locked into a single email provider with no flexibility. 
 + 
 +Spammers quickly adapt their behaviour to work around any new limitations or filtering methods, so you may end up breaking lots of legitimate email for very little benefit in the end. 
 + 
 +Unfortunately the non-centralized email infrastructure does also leave room for spam and other problems. These are pretty well under control using modern filtering tools which use multiple matching criteria to evaluate messages. 
 + 
 +===== Using DMARC with "​reject"​ will prevent many people from receiving your emails =====  
 + 
 +If you set up DMARC with "​reject"​ you're in effect saying you don't want email from you to be delivered reliably. Same is true for dropping incoming messages based on DMARC or SPF alone, you're saying you don't want your users to receive some of their real emails.
  
 ===== Using -all SPF causes many people to not receive your emails ===== ===== Using -all SPF causes many people to not receive your emails =====
 +
 +==== For domain administrators (sending side) ====
  
 Usually the instructions for SPF say you should use the "​-all"​ setting. This is misguided. Usually the instructions for SPF say you should use the "​-all"​ setting. This is misguided.
Rivi 19: Rivi 51:
 Especially if you use the strict ''​-all''​ setting, you will experience your own real emails not being delivered to many recipients, as the email arrives via the forwarding email server(s) instead of the original server and thus may not pass a SPF ''​-all''​ check at the final recipient mailbox. ​ Especially if you use the strict ''​-all''​ setting, you will experience your own real emails not being delivered to many recipients, as the email arrives via the forwarding email server(s) instead of the original server and thus may not pass a SPF ''​-all''​ check at the final recipient mailbox. ​
  
-Most people ​would probably be surprised how many internet users for example forward their emailseither ​to +The SPF people ​have a clunky proposed workaround (envelope address rewriting) ​for some of these issuesbut expecting //everyone else on the internet ​to change ​to accommodate me// will not happenso **you should ​use at most the ''​~all''​ setting with SPF for your own domain** (SPF ''​~all''​ means SoftFail, i.e. //accept but mark// instead of reject).
-  * permanently ​to read in a single mailboxor  +
-  ​temporarily to their mobile address while traveling, or  +
-  ​* use an email forwarding service as their permanent main address+
  
-The SPF people have a clunky workaround ​(envelope address rewritingfor some of these issues, but expecting //everyone else on the internet to change to accommodate me// will not happen, so **you should use at most the ''​~all''​ setting with SPF for your own domain** (SPF ''​~all''​ means SoftFail, i.e. //accept but mark// instead of reject).+==== For email administrators ​(receiving side====
  
 If you run an email server, you should similarly not block incoming email only based on any single reason, including the "SPF -all" check, but use SPF as one of multiple scoring methods. Otherwise your users will lose real email sent by organisations who have mistakenly configured their SPF with ''​-all''​. If you run an email server, you should similarly not block incoming email only based on any single reason, including the "SPF -all" check, but use SPF as one of multiple scoring methods. Otherwise your users will lose real email sent by organisations who have mistakenly configured their SPF with ''​-all''​.
  
-There have been many projects that claim to //fix email// which do not take into account the many and varying ways people use email in the real world. The flexibility of the non-centralized email infrastructure is a major reason why email has been and is so successful, and many of these proposed schemes only work for those users who are locked into a single email provider with no flexibility.+==== For users receiving emails ====
  
-Spammers quickly adapt their behaviour to work around any new limitations or filtering methods, so you may end up breaking lots of legitimate ​email for very little benefit in the end.+If you can not receive emails you need because ​of too tight filtering at your email provider, one solution is to use a email provider who works better, e.g. gmail.com
  
-Unfortunately the non-centralized ​email infrastructure does also leave room for spam and other problemsThese are pretty well under control ​using modern filtering tools which use multiple matching criteria ​to evaluate messages.+If you are an iki.fi member, you can configure iki.fi to forward your email to multiple addresses, and add e.g. gmail.com backup email address, where you can look for messages dropped by the misbehaving email provider. 
 +===== Automated emails and SPF ===== 
 + 
 +  * SPF could be used in cases where you have automated systems sending emails ​and where users have easy ways of changing those addresses [i.e. not using the email they registered with], as then users can make the address go to some place which do work with SPF. 
 +  * You should never force normal users normal emails ​to have SPF records, instead make sure your automated emails are sent from different subdomain and that subdomain have proper SPF records. This means that everybody sending from that special subdomain agrees on their emails being blocked when going through email forwarding service.
  
 ===== More information ===== ===== More information =====
  
-More information (in Finnish) at +More information (in Finnish) at IKI:
   * [[faq:spf]] including instructions for ISPs   * [[faq:spf]] including instructions for ISPs
   * [[faq:​grossdharmaalistaus]]   * [[faq:​grossdharmaalistaus]]
   * [[faq:​spamassassin]]   * [[faq:​spamassassin]]
 +
 +More information around the internet:
 +  * http://​david.woodhou.se/​why-not-spf.html (slightly old)
faq/dmarc_spf_considered_harmful.1512238153.txt · Viimeksi muutettu: 2017-12-02 18:09 / haa