troubleshooting Question

Creating a Missing SPF Record

Avatar of mamelas
mamelasFlag for Greece asked on
ExchangeWindows Server 2012* SPF RecordsEmail Servers
15 Comments1 Solution107 ViewsLast Modified:
Dear Experts,

Some of our outgoing emails are marked as Spam to the Receiver's Mail Servers since we do not have an SPF Record.

Our Environment:
1 Forest
1 Domain
2 Windows 2012 Domain Controllers (one primary, one backup)
1 On-Premise Exchange Server 2013
1 Cisco Anti-Spam Server which is our email gateway

For the purposes of this question please find an example of domain, mx records and IPs:

Anti-Spam Server:
Public IP of Anti-Spam Server:
Internal IP of Anti-Spam Server:
Internal IP of Exchange Server:
Public IP Range: (first IP), (last IP)

I have created an SPF record by using the relevant wizard/tool of MXToolbox - SPF Record Generator

Type: TXT
Value: v=spf1 a mx ip4: ~all

According to the message headers provided from the recipient in which our email was blocked, the with IP has no SPF record.

Q1) Is the above SPF generated Text correct?
Q2) Should the SPF include both FQDN and all the range of our Pubic IPs? (or either FQDN or Pubic IP is enough)
Q3) Is the CIDR accepted as a format on an SPF record?
Q4) Should we use all the Range/IP Block of our Public IPs or only the IP of
Q5) I have seen that some other users mention Internal IPs instead of Public ones. Which is correct?
Q6) The SPF record should be published only in my Domain Controller or should I also create a Record in my ISP Provider (as I did with the MX Records)?
Q7) Once the record is added can I SPF lookup immediately (by usinig MX Toolbox Tool) or it will take effect after some time?

To help me out, you are kindly requested to use the numbering for each question you are answering to.

Thanks in advance,
Join our community to see this answer!
Unlock 1 Answer and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros