|SPF Record Setup for Multiple Mail Server. Help Please Thanks!||GGeranium||2/11/09 11:02 PM|
I have 2 domains. SendSMTP.com hosted in Bluehost and another one (Website.com) elsewhere.
I use "mail.SendSMTP.com" to send newsletter for Website.com while using Google Apps to receive and send email for Website.com too.
1. Send and receive email from Google Apps.
2. Send email from Website.com (Using DotNetNuke) via SMTP from mail.SendSMTP.com
2. Receive email using Google Apps.
Question: How should I set the SPF?
As suggested by Google, the SPF txt record should be "v=spf1 include:aspmx.googlemail.com ~all"
So in my situation, will the following record work for me?
"v=spf1 a mx include:bluehost.com,aspmx.googlemail.com ~all"
1. Is separating domain using comma valid? "include:bluehost.com,aspmx.googlemail.com" If not, how?
2. Should I put "include:bluehost.com" or "include:SendSMTP.com" or "include:mail.SendSMTP.com?
(The default SPF for SendSMTP.com in bluehost is "v=spf1 a mx ptr include:bluehost.com ?all")
Many Many Many Thanks!
|Re: SPF Record Setup for Multiple Mail Server. Help Please Thanks!||Rob Ardill||2/11/09 11:17 PM|
Should be "v=spf1 a mx include:bluehost.com include:aspmx.googlemail.com ~all"
However that will not really work as the "include:aspmx.googlemail.com" refers to a redirect: _spf.google.com which replaces everything else.
I would use "v=spf1 a mx include:bluehost.com include:_spf.google.com ~all" That skips the direct problem.
|Re: SPF Record Setup for Multiple Mail Server. Help Please Thanks!||GGeranium||2/11/09 11:41 PM|
Thanks for the reply.
I've dig on this topic and found few other things:
Using this example: "v=spf1 a mx include:bluehost.com include:_spf.google.com ~all"
1. Since I'm receiving all email using Google Apps, adding the "mx" is unnecessary right?
2. As bluehost.com is a shared hosting company, using "include:bluehost.com" doesn't mean that other domain's owner in bluehost.com can send email that end with my domain name (SendSMTP.com in above example) too?
2.1 In this case, using "v=spf1 a include:mail.SendSMTP.com include:_spf.google.com ~all" would be valid?
p.s. I've asked the bluehost support...and they are not sure about the SPF setting also...
|Re: SPF Record Setup for Multiple Mail Server. Help Please Thanks!||Rob Ardill||2/12/09 6:08 AM|
SPF only considers what servers are allow to send email for your domain. Thus the MX isn't necessary if the other rules specifying ip4: blocks cover the IP addresses of the sending servers.
The Include: directive requires a TXT record at the specified hostname. Bluehost has one, so that will allow any SMTP servers from the below addresses to send email for your domain.
There is no SFP/TXT record for mail.SendSMTP.com, thus that won't be valid and will have nil effect. you probably want this instead
|Re: SPF Record Setup for Multiple Mail Server. Help Please Thanks!||Rob Ardill||2/12/09 6:09 AM|
The SPF syntax is explained here better
|Re: SPF Record Setup for Multiple Mail Server. Help Please Thanks!||GGeranium||2/12/09 7:52 AM|
Thank you for your answers Rod :)
I've got part of the answer from bluehost.com technician reply.
By default the main and all addon domain in bluehost.com account is sending emails using mail serverS from bluehost.com. (It is kind of relay in my opnion).
And that is why by default, all domain hosting in bluehost.com has SPF value of "v=spf1 a mx ptr include:bluehost.com ?all"
In a real case, www.hans-lim.com which is hosted in bluehost.com and using blogger.com platform and Google Apps for email has above setting at first.
In order to send newsletter to the subscribers, Google Apps definitely is not a good option. Thus, this will be my final SPF setting I guess:
"v=spf1 a ptr include:bluehost.com include:_spf.google.com ~all"
But a weird thing is, I did a testing to send an email...
1. Use Opera to send email.
2. SMTP outbound using mail.hans-lim.com (bluehost.com) in opera.
3. Sender Name as ad...@example.com where example.com has this SFP value: "v=spf1 include:_spf.google.com -all" (Without include:bluehost.com)
The result is, I still manage to receive email which sending from opera's smtp.
Guess I still have to keep testing on this...I hate Yahoo Mail!!!!
|Re: SPF Record Setup for Multiple Mail Server. Help Please Thanks!||Rob Ardill||2/12/09 1:59 PM|
What TTL did you use on the example.com SPF record? If you're doing testing it's best to keep it low, so you can change it often.
|Re: SPF Record Setup for Multiple Mail Server. Help Please Thanks!||JuanG||2/23/09 9:50 PM|
I have a similar issue.
I use dotnetnuke platform and I'm trying to set up the SMTP settings in order to allow the system to send email for the newsletters, etc...I already did the DNS change following the above directions and when I'm testing the dotnetnuke SMTP configuration after a while I pushed the "test" bottom, I get these message:
Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
|Re: SPF Record Setup for Multiple Mail Server. Help Please Thanks!||ScienceMan||2/23/09 9:58 PM|
This is a completely different issue. In your case, you need to configure your dotnuke SMTP, if posible, to send using SSL connections. If you want more information, search on the topic or open a different message thread in the forum.