Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Mar 10, 2015 3:13 am 
Offline
Newbie

Joined: Mon Mar 09, 2015 10:12 am
Posts: 2
I've got a single server with a single IP and I'm setting up a single domain at this time. I'll be adding a few more later on and want to send from them, but at the moment, I'm trying to properly configure SPF. It seems to be properly configured according to test via google, but testing via mail-tester.com says "SPF: HELO does not match SPF record (fail)" and points me to the page on the SPF site which says the following:

"mail-tester.com rejected a message from a mail server claiming to be mars.domain.com.
mail-tester.com received a message from mars.domain.com (xxx.xxx.xxx.xxx) from a mail server claiming to be mars.domain.com.

However, the domain mars.domain.com has declared using SPF that it does not send mail through mars.domains.com (xxx.xxx.xxx.xxx). That is why the message was rejected."


I've been reading the SPF documentation repeatedly and still can not exactly comprehend what is the correct syntax to use. Here is my current DNS.


MX
mars.domain.com 10

A
xxx.xxx.xxx.xxx
* xxx.xxx.xxx.xxx
www xxx.xxx.xxx.xxx
mars xxx.xxx.xxx.xxx

TXT
v=spf1 mx -all
* v=spf1 -all
www v=spf1 -all
mars v=spf1 mx -all



As far as I understand, I have told it "hostnames that appear in mx records and have a matching A record are allowed to send". Which, in this case, you can see it is...

So exactly what is missing, here?!

openspf's page is suggesting I change it to "v=spf1 mx a:mars.domain.com -all" which seems unnecessary. I already have mars.domain.com with an SPF record and an A record, which should match the "mx" part of the spf1 definition, right?


Last edited by dtrace on Tue Mar 10, 2015 6:00 am, edited 1 time in total.

Top
   
PostPosted: Tue Mar 10, 2015 5:42 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
You own mars.domain.com wow that's awesome! ....Seriously we can't help without your domain/ip.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Tue Mar 10, 2015 5:57 am 
Offline
Newbie

Joined: Mon Mar 09, 2015 10:12 am
Posts: 2
A placeholder IP and domain doesn't alter whether it is syntactically accurate or the behavior that the configuration should expect, but thank you.

Regards.


Top
   
PostPosted: Tue Mar 10, 2015 8:38 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
No but it does mean no one can dig your dns records to see if the spf record is actually correct. But if you don't want to make things easier for us then fine, people won't help.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Tue Mar 10, 2015 12:02 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
Quote:
mars v=spf1 mx -all

This line says that the only allowed sender from the domain mars.domain.com is the MX for mars.domain.com which doesn't seem to exist. There are several ways to fix depending on your intent for using mars as a subdomain, but you probably want to either create an MX for mars.domain.com or change the "mx" to "a" in this line of the SPF.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group