Why is OpenDKIM not signing my mails using postfix?

February 13, 2019 277 views
Email

Hi guys!

I am currently setting up OpenDKIM. I have followed the tutorial on this website but for some reason all the mails are not being signed.

Here my configurations:
Postfix: https://pastebin.com/x3k4C1LT
OpenDKIM: https://pastebin.com/BmWMtGDS
OpenDKIM-default: https://pastebin.com/iEcgu5Qz

I tried to debug using swaks -t myname@gmail.com and using http://www.mail-tester.com
But both verify that my mails are not being signed with DKIM.

1 Answer

Hey friend!

Great question. Is the header missing entirely? I assume it is, but let me know if I'm reading incorrectly. Be that the case, I'm thinking it might be worth reviewing the Postfix logs when you send an email to see if there are any errors in the process. Perhaps that will reveal a bit more information. I found another tutorial that looks good too, but if you're using ours there shouldn't be anything wrong with it if used on the stated distro/version. This is the other good one I found though:

https://easyengine.io/tutorials/mail/dkim-postfix-ubuntu

Jarland

Have another answer? Share your knowledge.