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.

To set up SPF for an OpenEMM server (emm.example.com.sg) for the site:

domain: example.com.sg
web server: www.example.com.sg
EMM server: emm.example.com.sg (say, ip: 201.202.203.204)

The example.com.sg domain is registered by an outside supplier. What should I tell the supplier to set the TXT record?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Depents on what you want. If email from anything else than your MX server needs to be dropped, this will suffice:

v=spf1 mx -all

More examples can be found on Wikipedia

And an answer based on the comments below:

v=spf1 mx ip4:201.202.203.204 -all

share|improve this answer
    
emm.example.com.sg, as a new server, will send emails directly from it's server by sendmail. –  ohho Jan 28 '13 at 10:16
    
and is that also the incoming mailserver (MX record in DNS)? –  Dennis Kaarsemaker Jan 28 '13 at 10:42
    
no, mx is mail.example.com.sg –  ohho Jan 28 '13 at 10:45
    
ok, updated answer –  Dennis Kaarsemaker Jan 28 '13 at 10:48
1  
Yes, that would work too. Wikipedia doesn't make that clear, but openspf.org/SPF_Record_Syntax does. –  Dennis Kaarsemaker Jan 28 '13 at 10:57

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.