Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Apr 30, 2010 2:15 pm 
Offline

Joined: Fri Apr 30, 2010 2:05 pm
Posts: 1
I realize that SPF records have been covered very well a few times on these forums, but I'm still not perfectly clear on my particular situation. It's a simple scenario: different domains that use the same MX (the MX is a subdomain of one of the domains).

Domain MX
------------ --------------------
host1.com mail.host1.com
host2.net mail.host1.com
host3.org mail.host1.com


This is what I originally thought the TXT record for "host1.com" would look like:
host1.com - v=spf1 a mx ptr ip4:xxx.xxx.xxx.xxx mx:mail.host1.com mx:host2.net mx:host3.org ?all
mail.host1.com - v=spf1 a ?all


Mail would originate from each domain, but the MX are all "mail.host1.com".

Any input on the correct way of setting this up would be most helpful. I feel like I'm getting something backwards or putting unnecessary information in the records.


Top
   
 Post subject:
PostPosted: Fri Apr 30, 2010 5:57 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
Ultimately the SPF record will be interpreted as a list of IP addresses, and it is unnecessary to list the same IP address more than once, even if it is known by different names.

So if all host1.com email is going to be sent from the same host, you probably should pick just one mechanism to specify its IP. Which mechanism to use is up to you - I would choose whichever is most likely to stay constant over time and over all your domains.

For me, whenever I add a domain to my mailserver and that server is the only handler of both incoming and outgoing mail for that domain, I go with this:
Quote:
v=spf1 mx -all


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


Who is online

Users browsing this forum: No registered users and 2 guests


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