We help IT Professionals succeed at work.

How do you combine SPF records in Office 365

J.R. Sitman
J.R. Sitman asked
on
873 Views
1 Endorsement
Last Modified: 2018-09-13
How do I combine these?  If you could paste the correct information here, that would be appreciated.

Office SPF
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2019

Commented:
First of all, multiple SPF records for the same domain are not permitted, so you are on the right track by wanting to merge them. Which you can to like this:

v=spf1 include:spf.protection.outlook.com include:yyy.com ip4:11.22.33.44 -all

Open in new window


Do note that there is a limit on the DNS resolutions you can have in the record, and the one used by EOP already has 4 lookups, so excessive "include" clauses will invalidate the SPF. So I would advise you to not add all of these unless you are absolutely sure they are necessary, and there is no option to use other workarounds (such as using a separate domain for sending messages via happifox, etc).

You can use this tool to validate the SPF once you've added all the clauses: https://www.kitterman.com/spf/validate.html
CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2019

Commented:
Oh, and if you are using O365, you dont need the MX clause (which also exhausts the DNS lookups).
J.R. SitmanIT Director

Author

Commented:
I need instructions on how to combine them. Then I can test
J.R. SitmanIT Director

Author

Commented:
Can you send the instructions or do the combine for me please
Server engineer
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
J.R. SitmanIT Director

Author

Commented:
Thank you I'll try later this afternoon
Saif ShaikhServer engineer
CERTIFIED EXPERT

Commented:
Welcome we will await your reply.
J.R. SitmanIT Director

Author

Commented:
I do not see a way to edit this from within Office 365.  Should this be done from Network Solutions?
CERTIFIED EXPERT

Commented:
-all or ~all should be only one time at the end of the record. It is a DNS record, so you should put it on your domain DNS server.
Are you sure you need to send mails from all these domains mail servers?
J.R. SitmanIT Director

Author

Commented:
Worked.  Thanks

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions