How do you combine SPF records in Office 365

J.R. Sitman
J.R. Sitman used Ask the Experts™
on
How do I combine these?  If you could paste the correct information here, that would be appreciated.

Office SPF
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Distinguished Expert 2018

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
Most Valuable Expert 2015
Distinguished Expert 2018

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
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

J.R. SitmanIT Director

Author

Commented:
Can you send the instructions or do the combine for me please
Server engineer
Commented:
You need to combine them like so:

v=spf1 include:outboundmail.blackbaud.net ~all(space) include:spf.protection.outlook.com -all(space) include:spf.outboundmail.convio.net ~all(space) include:spf.happyfox.com ~all(space)

There is a space after each line spf record ends. Make sure to provide space where it's mentioned above when creating it in public dns.
J.R. SitmanIT Director

Author

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

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?
-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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial