Link to home
Start Free TrialLog in
Avatar of J.R. Sitman
J.R. SitmanFlag for United States of America

asked on

How do you combine SPF records in Office 365

How do I combine these?  If you could paste the correct information here, that would be appreciated.

User generated image
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

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
Oh, and if you are using O365, you dont need the MX clause (which also exhausts the DNS lookups).
Avatar of J.R. Sitman

ASKER

I need instructions on how to combine them. Then I can test
Can you send the instructions or do the combine for me please
ASKER CERTIFIED SOLUTION
Avatar of Saif Shaikh
Saif Shaikh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you I'll try later this afternoon
Welcome we will await your reply.
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?
Worked.  Thanks