I have very little knowledge about spf records. I have Googled a little and found that spf records are used to prevent email spoofing. But I dont really understood how this works. I would like to know about the following things in brief.
How to set an spf record for my website. (Any links pointing to securely set an spf record may be useful)
Is there a significant difference between using
-instead of~. For example:
what is the difference between
TXT @ "v=spf1 a include:_spf.google.com ~all"
and
TXT @ "v=spf1 a include:_spf.google.com -all"
- Can spf records actually prevent attackers from spoofing my mail server.
Thanks in advance :)
They don't. They allow the recipient of the mail to detect spoofed mails but they don't prevent attacks against the server.Isn't it possible for an attacker to craft spoofed mails to the users of a particular website and do malicious activities? Am not sure.. just asking – Anonymous Platypus Jun 14 '15 at 17:57