Report this

What is the reason for this report?

Documentacion sobre SPF y el DKIM

Posted on February 14, 2022

Do you have some documentation on configuring SPF and DKIM?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there,

We do have an article on How To use an SPF Record to Prevent Spoofing & Improve E-mail Reliability

https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability

A DKIM record is another measure that can prevent spoofing and improve mail reliability. You can use any online tool to generate the key for you.

Also if you use any control panel for your server, like cPanel it will have the built-in functionality to create the DKIM record on your behalf

Once created you can use a DKIM checker tool like the one provided from mxtoolbox and check whether the generated key is valid.

https://mxtoolbox.com/dkim.aspx

Hope that this helps! Regards, Alex

Hi @javierhuaynatemejia,

Regarding SPF, you can see the following article that explains how SPF works:

https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability

Once you’ve given that a read you can follow the steps on how to add DNS records via your DigitalOcean Control panel here:

https://www.digitalocean.com/docs/networking/dns/

You can add the SPF and the DKIM records as TXT records there.

Regarding DKIM, you can check the following article. It gives some steps which you can follow to create DKIM on your droplet

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.