Add SPF record for Google Apps for your Domain

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

 

5 Comments

  1. Hello.
    Should we have a “.” (dot) at the end of the line or not ?
    Thanks.

  2. Yes, Google updated their help file.
    I am also update my post per above.
    Thank you.

  3. 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
    or
    v=spf1 a include:_spf.google.com ~all

  4. Actully I have my own DNS server. 1and1 does’t allow us to add a SPF record. That’s why I’d like set up my own server.

  5. 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 *