A Web Developer's Diary

Add an SPF DNS record to your Google Apps domain

6/29/2012

0 Comments

 
Adding an SPF TXT-record to your domain's DNS settings helps fighting spam. However, often there is a webserver that also wants to send mail using your domain as sender. Google's suggested SPF setting is not sufficient for this. Add (or replace if it already exists) this DNS TXT-record to your domain's DNS:
v=spf1 a include:_spf.google.com ~all
The only difference with the default value suggested by Google is the extra "a" after "v=spf1". Read Google's original instructions here. This extra "a" means that all IPs in the A-records of the domain are allowed to send mail. That should include your web server because your web server its IP is set in an A-record.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Author

    Blog about random challenges of a web developer.

    Archives

    April 2015
    May 2013
    January 2013
    July 2012
    June 2012

    Categories

    All
    Aws
    Cdn
    Code Igniter
    Css
    H2database
    Jamp
    Java
    Javascript
    Magento
    Maven
    Mysql
    Opencl
    Php
    Play-framework
    Quercus
    Scala
    Ubuntu

    RSS Feed

Powered by Create your own unique website with customizable templates.