Email: Difference between revisions
→Logging
imported>Sjwhitak No edit summary |
imported>Sjwhitak |
||
| (2 intermediate revisions by the same user not shown) | |||
|
** Name: <code>example.com</code>, Value: <code>v=spf1 ip4:141.219.188.20 -all</code>
** Name: <code>default._domainkey.example.com</code>, Value: <code>v=DKIM1; h=sha256; k=rsa; p=<your generated public key></code>
** Name: <code>_dmarc.
These DNS records are required to prevent spammers from spoofing your email. It's quite simple to spoof your email, simply set the "From" header to whatever you want, and so you could just use <code>From: steven@example.com</code> to a bunch of people. The <code>spf1</code> DNS record says that if an email sent outside of the IP <code>141.219.188.20</code>, then they'll assume someone else was trying to spoof your email. With no <code>spf1</code> record, there's no way to know if this email is spoofed or not, so your domain will not be trustworthy. If someone actually <em>does</em> try to use your email, it'll be quarantined following your <code>DMARC1</code> value. Finally, if someone spoofs your IP somehow, they will also require your private key to compare with your <code>DKIM1</code> public key shown in the third <code>TXT</code> record.
For postfix, you need to run these commands in your shell:
=== Ports ===
| |||