Linode Forum
https://forum.linode.com/

SPF not working on Google hosted domains
https://forum.linode.com/viewtopic.php?f=11&t=11579
Page 1 of 1

Author:  richardvc [ Thu Feb 05, 2015 2:52 am ]
Post subject:  SPF not working on Google hosted domains

I have setup spf in dns manager

v=spf1 mx a ip4:170.255.196.137 -all

Also have A record as linode.florix.net


When We send emails from cron .. google gives following SPF error and move emails to SPAM.

Received-SPF: none (google.com: root@linode.florix.net does not designate permitted sender hosts) client-ip=173.255.196.137;
Authentication-Results: mx.google.com;
spf=none (google.com: root@linode.florix.net does not designate permitted sender hosts) smtp.mail=root@linode.florix.net


Any suggestions?

Author:  arlen [ Thu Feb 05, 2015 3:06 am ]
Post subject:  Re: SPF not working on Google hosted domains

You have the wrong IP in the spf record. You put 170.x but your server is connecting to Google with the IP 173.x. and because you have it hardfail with -a google gives that error.

Author:  richardvc [ Thu Feb 05, 2015 3:11 am ]
Post subject:  Re: SPF not working on Google hosted domains

Dear Arlen,

The correct record is v=spf1 mx a ip4:173.255.196.137 -all

I was trying to change the IP, before posting it on forum.

Author:  Stever [ Fri Feb 06, 2015 6:56 pm ]
Post subject:  Re: SPF not working on Google hosted domains

Not sure what happened to my previous post, but your problem is that you are sending from root@linode.florix.net, but your SPF record only covers florix.net. SPF records don't automatically cover subdomains, so you either need to change your sending address to @florix.net or add another SPF record for linode.florix.net.

Author:  richardvc [ Tue Feb 17, 2015 12:37 am ]
Post subject:  Re: SPF not working on Google hosted domains

Dear Stever,

Thank you for the update.

I will check subdomains SPF.

This email is generated by a php script, called by cronjos.

In cron, I have mentioned MAILFROM: xyz@florix.net, still it uses root@linode.florix.net

Can you explain ?

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/