South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Make sure you use ~all and not -all to prevent unforeseen errors.
Define unforeseen errors?
As I understand it -all means it's strict match so it will fail if it does not match my MX record or IP address of the server
and ~all means it will allow mail whether or not it matches the parameters in the record so practically useless then?
(I am most likely not understanding how this works so please be gentle)
The spf record doesn't prevent mail going anywhere per se.I need a more real world example
IF I use -all
will the mail still work on outlook, thunderbird, geary and my android phone?
I need a more real world example
IF I use -all
will the mail still work on outlook, thunderbird, geary and my android phone?
The spf record doesn't prevent mail going anywhere per se.
It just provides a guide to the servers receiving the email whichsending servers that are allowed to send email on your domains behalf
This. Even with SPF records we have mail getting spoofed. You can actually see SPF failing in the header, yet it reaches peoples inbox. It's up to the receiving end to enforce the SPF check.
If you have any websites that send email directly for your domain mail (not via SMTP), you need to add those ip's as well.Makes perfect sense that is exactly what I thought it would do.
-all it is.
I use cpanel for my mail so each account will use the IP address of that server.
You may also want to look at this:
http://stackoverflow.com/questions/27545572/create-spf-record-against-multiple-ips
This way you can have an SPF redirect record for each domain you own, which redirects to a master record.
That way if you want to change mail server IP's you do it in 1 SPF record and not say 50 (for 50 domains).
If you have any websites that send email directly for your domain mail (not via SMTP), you need to add those ip's as well.
So for my domains, I have my main SMTP server, my website Ip address (support emails are sent from there) and my 2 saas providers servers (alerts and notifications are sent from there)
Yes, should be fine.I do use PHP mailer for all my web mails using the specific Cpanel account's SMTP settings so all should be well?