DKIM not working / not signing

After enabling DKIM in Virtualmin/Email Settings/DomainKeys Identified Mail emails are still not signed.

dkim service is running and on right port. Postfix config is also right.

I tried every fix what I found here on forums and on stackoverflow but nothing works. This is serious bug I think.

Needs work


Howdy -- I wasn't able to reproduce a problem on my test server with DKIM, and other than yours we haven't been receiving reports of problems with it.

While it is possible there could be a bug, there's other explanations too. Our suggestion would be to troubleshoot the issue by creating a new thread in the Forums, and if it's determined that there's a bug, we can look deeper into it at that point.

I tested today with new clean install of Debian 9. It 100% not signing emails.

Needs work

I found it! There is problem with autoconfig. Postfix is configured to port 8891, but dkim is listening on socket! I changed dkim to listen on 8891@localhost and emails are signed now