Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We have recently started using Office 365 for our email, which requires us to add a DNS TXT record with the value v=spf1 include:spf.protection.outlook.com -all. We already have an SPF record with the value v=spf1 include:spf.mandrillapp.com ?all for Mandrill, an SMTP sender we also use.

enter image description here

My concern is this might cause some conflict. Is my concern valid or will be be fine with these two SPF records?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

You can only have one SPF record.
You need to combine them like so:

v=spf1 include:spf.mandrillapp.com include:spf.protection.outlook.com -all

or

v=spf1 include:spf.mandrillapp.com include:spf.protection.outlook.com ?all
share|improve this answer
    
I'm in exactly the same position here... of implementing line 1 or line 2... whats the difference between -all and ?all –  Adrian Salazar yesterday
    
@AdrianSalazar -all: mails sent from hosts not specifically allowed are not permitted to send mails. ?all: means any not specified host is neutral and nothing can be said about the validity of it. In practice it is not sent to spam. ?all renders the SPF record almost useless. However some 3rd party provides want you to use it because they change IPs often and don't want that to cause problems. –  faker yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.