Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 129
  • Last Modified:

Adding Mail server to SPF record

Hi, we have a secure web portal that sends us an email when someone logs in and makes some changes to their account. It is handled and hosted by the developer. It worked fine for a long time but recently we have been receiving bounce backs because the developers server is not authorized to send email on behalf of our Domain.

I have added  their servers IP4 address after the IP address of our mail server, in the SPF record. Does the syntax look correct.

v=spf1 mx ptr mx:mail.ourdomain.com ip4:222.222.222.222 ip4:33.333.33.33 -all
0
Stev0W
Asked:
Stev0W
  • 2
  • 2
1 Solution
 
max_the_kingCommented:
hi,
try and change syntax from
-all
to
~all

hope this helps
max
0
 
Marcus BointonCommented:
That looks workable, but I recommend you put the IP addresses first as it makes it faster for receivers to check it, like this:

v=spf1 ip4:222.222.222.222 ip4:33.333.33.33 mx ptr mx:mail.ourdomain.com -all

Open in new window

There's not usually much to be gained by ptr entries in SPF records.

To be certain, check the exact settings that the bounce is coming from manually and make sure its covered by your SPF.
0
 
Marcus BointonCommented:
Don't change -all to ~all unless you're also using DMARC; it will weaken your SPF settings unnecessarily. Solve the exact problem, don't just give up!
0
 
max_the_kingCommented:
you may want to read this:

http://www.openspf.org/SPF_Record_Syntax

max
0
 
Stev0WAuthor Commented:
Thanks. Moved the record around as suggested and drooped the ptr entry. Seems to be working fine.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now