Anyone implemented SPF on OS X Server?

I have a nice SPF record in my top level domain DNS now, and I can see that GMAIL checks it, and it seems to work.


Received-SPF: pass (google.com: domain of me@mydomainname.co.uk designates x.x.x.x as permitted sender) client-ip=x.x.x.x;

Authentication-Results: mx.google.com;

spf=pass (google.com: domain of me@mydomainname.co.uk designates x.x.x.x as permitted sender) smtp.mailfrom=me@mydomainname.co.uk


But my own OS X Server mail system either does not seem to show these headers or I do not know how to check it.


How can I check it / set it up to work.


Angus

Mac Pro, Xserve, iPhone, TV-OTHER, OS X El Capitan (10.11.6), I live in a Banana Republic

Posted on Aug 13, 2016 5:50 AM

Reply
8 replies

Aug 15, 2016 3:17 AM in response to Angus Fox

There are two aspects potentially.


You need the SPF record added to your DNS server, this DNS server might be an external DNS server but you may also have an internal DNS server as well. (This is called a split-horizon DNS configuration.) If so you need to add the SPF record to both DNS servers.


To add special records like an SPF record the Server.app program is not really up to the job, you therefore need to manually edit the appropriate file in /Library/Server/named/ while your DNS server is temporarily turned off.


The second aspect is your mail server software, Kerio Connect has built-in support for SPF and it is merely a matter of turning this function on, but if your using the Apple mail server which is part of Server.app then you need to enable support in whatever anti-spam system you are using, as per other answers here one option is to do this using ASSP another is to do this using SpamAssassin which is built-in to Server.app although only configurable via the command line.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Anyone implemented SPF on OS X Server?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.