For a while now I have been using Google Apps for Business to provide email services for my domain. I'm in the process of setting up a new storage server and want notification-type emails to be handled separately on the local server.
I've set up postfix as an internal smtp server and have that all working. However I use spf records in my dns set up to enable recipients to verify emails are coming from me. So I also need to specify that all mail received from a particular domain (in this case the fqdn of my internal mail server) is a pass.
The trouble is I can't see a clear way to accomplish this via CloudFlare, I saw 2 potential avenues:
- Specify the FQDN in the SPF record - that won't work as mail will get checked against CloudFlare's IP addresses.
- Specify my IP address directly - that will work but it'll leave my public IP accessible for the world to see in the DNS records. This negates negates the benefit of using CloudFlare in the first place?
Is there a configuration option that just verifies mail against a domain, without extended IP checks?