New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
SPF always temp errors, WTF
Received-SPF: temperror (encountered temporary error during SPF processing of domain of mail.test.com)
My setting in the DNS is :
mail TXT v=spf1 ip4:198.xx.xx.xxx -all 600
I must have missed something important. Is it the hostname must be exactly the domain sending emails? Or is it rDNS setting?
Comments
Have you set rDNS?
Check your mail headers for the hostname/IP that the mails are coming from if you have more than 1 IP.
what's 600 there?
my SPF look like
This is how I usually do it...
IP.ADD.RES.S01 - is the shared/dedicated IP for the site
IP.ADD.RES.S02 - is the servers host IP that exim is usually running on
server.hostname.tld - is the servers hostname that the rDNS points to for IP.ADD.RES.S02
mydomain.tld - its TXT entry is "v=spf1 ip4:IP.ADD.RES.S01 ip4:IP.ADD.RES.S02 include:server.hostname.tld ~all"
server.hostname.tld - its TXT entry is "v=spf1 a mx ~all"
Make sure that rDNS for all the IPs matches and isn't generic.
No, is it because of that?
It is the TTL.
Thank you @DeanClinton for detailed explanation.
So, I need to set the hostname the same as the one sending emails? So if my hostname is plato.test.com, and emails sent are mail.test.com, and the SPF/DKIM are setting for mail.test.com, in such case SPF checks will fail?
you've got a better chance of passing if everything matches and is referenced correctly in the SPF and also the rDNS.
So if the hostname is host1.mydomain.com then include the host1.mydomain.com in your spf and also make sure rDNS is set correct.
Disclaimer: I'm not a guru.. just explaining what I did and it worked.
TTL
__ EDIT __
Just noticed that was already answered. :-[