I am inquiring about how to setup a proper SPF record. I know there are
SPF wizards/generators available but each seem to have a different
"opinion" of what should be included and what should not be included.
Let me give you a scenario of my setup, and hopefully someone can help
My domain is: test.com
My mailserver hostname is: mail.host.com which also has a MATCHING PTR
mail.host.com (for example) resolves to 22.214.171.124 and 126.96.36.199 resolves
This is a STANDALONE mail server which will receive and send email
without any VIP's or load balancing. There is however one additional
host that will send out mail from the domain but it wont be receiving
mail, it will only be used as an SMTP (outbound only) server attached to
a website automailer which is on a seperate webserver... It only
generates error reports and sends them out... so technically it isn't a
full mail server but it will be sending (outbound only) mail on behalf
of the domain.
The additional host is: mail2.test.com which resolves to 188.8.131.52 and
there is a Matching PTR.
These are the ONLY mail servers and IP addresses that will be sending
out mail from the test.com domain. Some websites say I should use -all
and others say -all will cause some MTA's to reject and ~all is better
to use even if those are the only two hosts sending out mail.
Would you be able to assist with a solid SPF record?
CentOS mailing list