Question

DKIM/SPF E-mail Help

  • Posted February 23, 2019
  • Email

First time trying to do e-mail. Been reading about DKIM and SPF but not really understanding it. Is there a clear guide on how to use it? Is this the best option for me? https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy

I’m installing Discourse but my e-mails are not delivering, which means I can’t get it set up.

Thank you for your patience and assistance!

Subscribe
Share

Yes that should get you started, I have followed the same tutorial with success


Submit an 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

Hey friend,

You might consider either setting Discourse to use an external SMTP service to send the emails or running a mail server with a preconfigured setup like this:

https://mailcow.email/

As far as handling DKIM for you goes, it doesn’t get much easier than that. Email is a headadche these days, any way that you can delegate that work through something like mailcow (or iredmail, etc) can lighten your burden significantly.

Jarland