SPF record question

Hi.  I have spf record quesiton.  My mail is hosted by zoho mail.  I have no issues there.  But I have an AS400/iSeries that I am sending out emails nightly to customers with shipping info.   For example those emails are coming from S103jmr4.xxx.com (xxx being our domain name).  The idea I believe is to add an spf record with that special name in it so that people will receive those emails, but I want to make sure that people keep receiving the normal mail.    I used an spf builder to create a record using the S103jmr4.xxx.com.  But does that spf need to include info about the zoho mail server too?
Here is the spf record created.
xxx.com.  IN TXT "v=spf1 mx ptr a:s103jmr4.xxx.com ?all"

Thanks
Kevin CaldwellOwner of RUseeingRed Tech SolutionsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jan SpringerCommented:
any mail server needs to also have both matching forward and inverse DNS.

I would add it as an "ip4:" and optionally as an "a:".

and, yes, your spf for your domain should include all valid outbound email servers/ip addresses.
0
footechCommented:
If you have a SPF record for your mail domain, it should include every source that legitimately sends email for your domain.  So, yes, include the details for zoho as well.

Side note: unless the IP at s103jmr4.xxx.com changes, I would just make your SPF record reference that IP.  Often the mx and ptr are frowned upon for inclusion in the SPF record, but it may make sense depending on your setup.
0
Kevin CaldwellOwner of RUseeingRed Tech SolutionsAuthor Commented:
Where we are is very remote and only have verizon wireless as the connection.  We do not have a static ip so the public IP could change.
0
ON-DEMAND: 10 Easy Ways to Lose a Password

Learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees in this on-demand webinar. We cover the importance of multi-factor authentication and how these solutions can better protect your business!

nociSoftware EngineerCommented:
if no other mail sources are allowed a -all might be preferable above ~all.
It should reduce sending backscatter related spam  (sent in your name).
0
DrDave242Commented:
But does that spf need to include info about the zoho mail server too?

If that zoho mail server is included in your domain's MX records (which should be the case if it's handling inbound mail to your domain as well), it's already covered by the mx mechanism in your SPF record.

I'm with footech on the recommendation to remove the ptr mechanism, especially if the IP addresses of any of your sending servers may change.
0
nociSoftware EngineerCommented:
All potential mail sending AUTHORIZED servers need to be in the SPF.
That can be done through: IP4:/IP6: records for raw addresses, A: records to get hostnames translated.
or mx to also include all MX mentioned servers. (This only helps if your ALL outbound mailserver are also handling inbound mail).
If strings get too long you can use include: or redirect: ...
Also there is a limit to the (extra) lookups you may cause: max 10..., this can be an issue if refering to includes/redirects.

PTR is not terribly useful as those DNS records should translate ip address back to strings. and you need IP addresses.

Here you can check if the result is meaningfull:
https://mxtoolbox.com/spf.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Zoho

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.