SPF: Difference between revisions
Created page with "We recommend that you create a Sender Policy Framework (SPF) record for your domain. An SPF record is a type of DNS record that identifies which mail servers are permitted to..." |
mNo edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
We recommend that you create a Sender Policy Framework (SPF) record for your domain. An SPF record is a type of DNS record that identifies which mail servers are permitted to send email on behalf of your domain. | We recommend that you create a Sender Policy Framework (SPF) record for your domain. An SPF record is a type of [[DNS]] record that identifies which mail servers are permitted to send email on behalf of your domain. | ||
The purpose of an SPF record is to prevent spammers from sending messages with forged From addresses at your domain. Recipients can refer to the SPF record to determine whether a message purporting to be from your domain comes from an authorized mail server. | The purpose of an SPF record is to prevent spammers from sending messages with forged From addresses at your domain. Recipients can refer to the SPF record to determine whether a message purporting to be from your domain comes from an authorized mail server. | ||
| Line 7: | Line 7: | ||
If you just want to use the MX records and A records to control who is valid, then <code>"v=spf1 mx a -all"</code> is the text record that works. This [http://www.spfwizard.net/ wizard] can help. Once you're done, you can check on things with | If you just want to use the MX records and A records to control who is valid, then <code>"v=spf1 mx a -all"</code> is the text record that works. This [http://www.spfwizard.net/ wizard] can help. Once you're done, you can check on things with | ||
<code>nslookup -query=mx</code> | |||
; Check the MX (Mail Exchanger) records for example.com | |||
<code>nslookup -query=mx example.com</code> | |||
; Check records for example.com using Google's nameserver | |||
<code>nslookup example.com 8.8.8.8</code> | |||
; Check text records (including SPF) for example.com | |||
<code>nslookup -type=txt example.com</code> | |||
== Resources == | == Resources == | ||
# [https://support.google.com/a/answer/178723 Configure SPF records to work with Google Apps] (Google) | # [https://support.google.com/a/answer/178723 Configure SPF records to work with Google Apps] (Google) | ||
# [https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability How to use an SPF record to prevent spoofing and improve email reliabiltiy] (Digital Ocean) | # [https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability How to use an SPF record to prevent spoofing and improve email reliabiltiy] (Digital Ocean) | ||
[[Category:Email]] | |||
[[Category:Spam]] | |||