Question

Why is OpenDKIM not signing my mails using postfix?

Posted February 13, 2019 885 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.

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.

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

Submit an Answer