#1  
Old 6th April 2011, 14:19
dimas dimas is offline
Senior Member
 
Join Date: Jul 2006
Posts: 125
Thanks: 7
Thanked 27 Times in 8 Posts
Default Correct SPF records setup

Please kindly help me to get a clearer picture of setting up correct SPF records. I know this has been discussed on the forums a lot, but more reading is only getting me more confused.

The problem is that, of course, without reverse DNS and the right SPF records lots of emails are not delivered.

I'm using the latest ISPConfig 3 (CentOS, perfect setup).

I have a block of external IPs and a number of domains/sites for clients.

Clients send mail via

mail.clientdomain1.com
mail.clientdomain2.com
mail.clientdomain3.com
etc

(DNS records were made using DNS wizard)

The hostname of my server is, say, server1.example.com

By searching the forum I've found that I need to

1) Ensure that the reverse dns record for the IP address matches the hostname of the server.
2) Create spf records for all domain names and configure them to allow sending for the hostname of the server.

As for the 1) - all emails are sent via just one IP, so I've asked my ISP to make reverse DNS for this IP, so that it would resolve to server1.example.com

I hope this is OK.

As for 2) - please kindly help.

I understand that I have to make an SPF record for EACH of the clients' domains - and it has to be a TXT record

The name, if I understand correctly, has to be:
server1.example.com.

As for the text, in the examples I came across there were several mechanism used: "ip4", "a", "mx", "ptr" etc - do I have to use them all, or, for example, just "mx" mechanism is enough?

That is, will it be sufficient to write:

"v=spf1 mx:server1.example.com -all"

?

Also, at the moment "server1" at example.com is just an "A" record, do I have to make it MX also (example.com has mail.example.com as MX now)?
Reply With Quote
Sponsored Links
  #2  
Old 7th April 2011, 15:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

This wizard might help: http://old.openspf.org/wizard.html
Basically it is important that your SPF record includes all servers from which mails are being sent for the domain. If you list them as ip4, a, mx, etc. doesn't matter.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Glue Records with NETTICA addiakogiannis Installation/Configuration 1 22nd March 2011 22:15
SPF: Setup & Why? Mentor Installation/Configuration 1 5th February 2009 10:11
Howto configure Glue Records DVS Suggest HOWTO 1 27th May 2007 09:11
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
Email Problems zimele General 13 28th November 2006 14:52


All times are GMT +2. The time now is 22:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.