I mentioned before, I use Google Apps for your domain as one email service of my sites.
Email service switch is very smooth.
And user interface is same as Gmail, friendly.
One issue found. I send an email to an email address ended by 163.com.
The Delivery Status Notification (Failure) message said:
Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 8): 550 MI:SPF mx20,wKjR5bDbf6h9JaNFxfU9DA==.29331S5 1168320069 http://mail.163.com/help/help_spam_16.htm
The error code is 550 MI:SPF
That means the IP address of sender is not included in sender’s Domain list.
To check the SPF record, go here.
I checked Google help, the answer is here.
How do I set my SPF records?

Sender Policy Framework (SPF) records allow domain owners to specify which hosts are permitted to send email on behalf of their domains, making it hard to forge From: addresses. We strongly encourage you to publish SPF records for your domain — having these records in place will ultimately help fight spam.
To set your domain’s SPF record, publish the following TXT record on the DNS resource: v=spf1 include:aspmx.googlemail.com ~all.

Updated 2010-7-22
v=spf1 include:_spf.google.com ~all


David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

5 Replies to “Add SPF record for Google Apps for your Domain

  1. You solution v=spf1 include:aspmx.googlemail.com ~all. is wrong a bugy.
    it should be
    v=spf1 a mx include:_spf.google.com ~all
    v=spf1 a include:_spf.google.com ~all

  2. Hi David,
    I’m a little confused by this whole spf thing.
    I have my domain name registered with UKReg, pointing at my dedicated server at 1 and 1 (using their nameservers).
    Now I’m guessing that you do it this way too? But your using Google as your e-mail.
    1 and 1 won’t let you add an spf record to your DNS as Google are asking above.
    How did you get round this as my messages to Hotmail are bouncing and I suspect so would AOL and Yahoo from what I’ve read.

Leave a Reply

Your email address will not be published. Required fields are marked *