SPF Inquiry

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
Phr0zen
Normal user
Normal user
Posts: 70
Joined: 2006-11-21 17:06

SPF Inquiry

Post by Phr0zen » 2006-12-22 17:31

Hello,

I am just wondering if anyone can clarify how to setup an spf record (I can use the tool at openspf.org to create it). Basically where does the SPF record have to be setup.

Here is the setup

mydomain.com -> hosted with a hosting company on their servers

mail.mydomain.com -> mx record pointing to my hmail server


So, do I get my hosting company to add the SPF record (I don't have an option for this in the hosting control panel) .... or do I set the SPF up somewhere else?

Man, I feel braindead... long week. Thanks for any help.
:)

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2006-12-22 19:10

if you do not control your DNS records then ask your provider to add it for you.

Phr0zen
Normal user
Normal user
Posts: 70
Joined: 2006-11-21 17:06

Post by Phr0zen » 2006-12-22 19:45

^DooM^ wrote:if you do not control your DNS records then ask your provider to add it for you.
I did ask them... but they assured me that SPF was setup for their mail server.... totally missed the fact that I specifically told them I am not using theirs..

SIGH.. maybe it's time to switch providers


So from what you said.. the domain mydomain.com controls the SPF record and the isp that the mail server is on does not?

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2006-12-22 20:36

That's correct. whoever hosts your domain will control your DNS records.

jpeoples
Normal user
Normal user
Posts: 67
Joined: 2004-07-01 05:56
Location: Ft Lauderdale, Fl US of A

Post by jpeoples » 2006-12-24 03:36

godaddy lets you create your own spf text records...

and its cheap to switch...


i recently switched 50 domains over...

duke16
Normal user
Normal user
Posts: 40
Joined: 2007-03-20 12:13

Post by duke16 » 2007-03-25 04:08

Sorry to bump.

If I'm using an SMTP relayer in hMailServer, do I need to worry about whether my DNS SPF is setup correctly?

User avatar
danny6167
Senior user
Senior user
Posts: 472
Joined: 2007-02-07 15:24
Location: Western Australia
Contact:

Post by danny6167 » 2007-03-25 07:44

I think that you will have to add the server that you are using as a relay to your sfp records.

porcupine
Normal user
Normal user
Posts: 40
Joined: 2007-03-12 09:02

Post by porcupine » 2007-03-25 20:23

yes, if you use a relay your dns will sometimes be queried for SPF to check if that relay is authorized to send mail on your behalf. You can add the fully qualified name and ip address. You will have to add entries for all the servers you relay through.

"v=spf1 a mx -all a:mail.myhoster.com a:256.1.1.1"

Once updated (your isps dns may be lazy, wait at least 24hrs), then check the results here: http://www.seoconsultants.com/tools/spf/ put your email address and the ip of your hosters mail server.

You can also send an email to: check-auth@verifier.port25.com it will bounce back with the results.

btw I hate SPF and I have it turned off in hMailServer

duke16
Normal user
Normal user
Posts: 40
Joined: 2007-03-20 12:13

Post by duke16 » 2007-03-27 04:19

So where do I add the information to make mail coming from my server, going through an STMP relayer (I was having issues with mail bouncing back because of my dynamic IP), valid SPF? My NS is handled by 1and1.com and hostname by Godaddy. But I don't see the option on either of their pages.

Thanks.

porcupine
Normal user
Normal user
Posts: 40
Joined: 2007-03-12 09:02

Post by porcupine » 2007-03-27 04:32

SPF is added as a 'TXT' record to your DNS Zone. Many hosting services only give you a small amount of 'A' and 'MX' records you can add. 'TXT' is a little more advanced and the hosters may not have a web interface for such additions, however they should be willing to add it manually for you.

the 'TXT' record should contain eg
v=spf1 a mx -all a:mail.myhoster.com a:256.1.1.1

Post Reply