Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jan 11, 2011 3:51 pm 
Offline
Newbie

Joined: Tue Jan 11, 2011 3:34 pm
Posts: 4
Hey,

I've read a bunch of threads and THINK I've come up with the right settings, can anyone here look and help verify?

3 domains
1. www.alpha.com
2. www.beta.net
3 www.charlie.org

alpha.com is the primary site on the server I've kept the host name as the default linode one..Not sure if I need to change this.

the mx is mail.alpha.com with smtp.alpha.com as outbound. Below is my TXT Record

"v=spf1 a mx mx:mail.beta.net mx:mail.charlie.org"

In the DNS Settings of beta.net and charlie.org i have set up the mxx records. Note all domains point to the same IP address.

Does the above look correct? I saw some people recommend doing somethign different such as:

"v=spf1 a mx ip4:ip.address.here"

Any ideas on which would be correct?

Thanks


Top
   
PostPosted: Tue Jan 11, 2011 4:38 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
FluxDevelopment wrote:
Hey,

I've read a bunch of threads and THINK I've come up with the right settings, can anyone here look and help verify?

3 domains
1. www.alpha.com
2. www.beta.net
3 www.charlie.org

alpha.com is the primary site on the server I've kept the host name as the default linode one..Not sure if I need to change this.

the mx is mail.alpha.com with smtp.alpha.com as outbound. Below is my TXT Record

"v=spf1 a mx mx:mail.beta.net mx:mail.charlie.org"

In the DNS Settings of beta.net and charlie.org i have set up the mxx records. Note all domains point to the same IP address.

Does the above look correct? I saw some people recommend doing somethign different such as:

"v=spf1 a mx ip4:ip.address.here"

Any ideas on which would be correct?

Thanks


While what you proposed could theoretically be correct it does look rather a stretch that it would actually be (it would imply rather unconventional mail addresses being used).


It rather seems that you have misunderstood some of the keywords in SPF.

Keep in mind that most of the keywords are kind of shortcuts to including values of dns records found at specified domain names as a way of avoiding to explicitly list all of the IP numbers.

For instance, the "mx" keyword in SPF is a way of including what a specified MX record points to. "mx:example.org", where "example.org" would be the fqdn that has the MX record, would mean that the IP that the name in the MX record(s) found there resolve to are allowed to send mail addressed from this domain name that the SPF record is for.

"a" and "mx" by themselves (no domain name specified) means including the values of A and MX records found at the same fqdn that you are adding the SPF record.


If this is all gibberish to you, you may want to start out with using a wizard such as http://old.openspf.org/wizard.html


Last edited by hawk7000 on Tue Jan 11, 2011 4:40 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Tue Jan 11, 2011 4:39 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
You will need a separate SPF record for each domain - the fact that they are all hosted on the same server doesn't really make much difference.

Assuming that ALL mail from the domains will be sent through the same server that you are using to receive the mail, the following SPF will work for each domain:
Code:
v=spf1 mx -all


You really only need the other entries if they actually resolve to different IP's.

EDIT: Just to be perfectly clear, you will need to add the above TXT record (or whatever you decide to use) on the alpha.com, beta.net, and charlie.org zones.


Top
   
 Post subject:
PostPosted: Tue Jan 11, 2011 4:55 pm 
Offline
Newbie

Joined: Tue Jan 11, 2011 3:34 pm
Posts: 4
Thanks on both accounts. :)


Top
   
PostPosted: Fri Jan 21, 2011 10:28 am 
Offline
Newbie

Joined: Fri Jan 21, 2011 10:08 am
Posts: 4
Website: http://zachbrowne.com
http://mxkit.com/webmaster-tools/spf-ge ... ?title=213
http://www.microsoft.com/mscorp/safety/ ... id/wizard/

Zach


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