{"id":10,"date":"2007-10-16T19:38:29","date_gmt":"2007-10-16T17:38:29","guid":{"rendered":"http:\/\/independence.blinkenshell.org\/blog\/?p=10"},"modified":"2007-10-16T19:38:29","modified_gmt":"2007-10-16T17:38:29","slug":"gmail-spf","status":"publish","type":"post","link":"https:\/\/independence.blinkenshell.org\/blog\/2007\/10\/16\/gmail-spf\/","title":{"rendered":"Gmail, SPF"},"content":{"rendered":"<p>For a long time activation emails sent to <a href=\"http:\/\/mail.google.com\">Gmails<\/a> users have been marked as spam. I thought it was because there is a link in it, and before I was using the word &#8220;congratulations&#8221; which is probably not very popular by spam filtering software. Now I think I&#8217;ve finally figured out the <em>real<\/em> reason, yay!<\/p>\n<p>I&#8217;m using <a href=\"http:\/\/en.wikipedia.org\/wiki\/Sender_Policy_Framework\">SPF<\/a> on Blinkenshell&#8217;s <a href=\"http:\/\/en.wikipedia.org\/wiki\/Domain_name_system\">DNS<\/a> to stop spam with from addresses using @blinkenshell.org, what this does is make sure that only specific hosts can send emails using blinkenshell.org as the domain in the from address. The problem was, in the DNS editing software I had just entered a SPF record like this:<\/p>\n<blockquote><p><code>v=spf1 a mx -all<\/code><\/p><\/blockquote>\n<p>This worked for me last time I used SPF, but this software was different. When I checked the SPF record today I noticed I got a reply looking like this:<\/p>\n<blockquote><p><code>\"v=spf1\" \"a\" \"mx\" \"-all\"<\/code><\/p><\/blockquote>\n<p>Some SPF checking software doesn&#8217;t like this, because they expect it to be in one string, like this:<\/p>\n<blockquote><p><code>\"v=spf1 a mx -all\"<\/code><\/p><\/blockquote>\n<p>So I enclosed the string in quotes in the DNS software and now it seems to work much better, gmail doesn&#8217;t mark the email as spam even though there is a link in it!<\/p>\n<p>Hopefully this will help a lot, cause many of our users seem to use Gmail and often has often got lost in the past. From now on, I hope that these emails will get through properly! Yay \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a long time activation emails sent to Gmails users have been marked as spam. I thought it was because there is a link in it, and before I was using the word &#8220;congratulations&#8221; which is probably not very popular &hellip; <a href=\"https:\/\/independence.blinkenshell.org\/blog\/2007\/10\/16\/gmail-spf\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[20,25,26],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-mail","tag-gmail","tag-spam","tag-spf"],"_links":{"self":[{"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":0,"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/independence.blinkenshell.org\/blog\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}