Emails not including dkim

6 posts / 0 new
Last post
#1 Wed, 08/29/2018 - 22:39

Emails not including dkim

I am trying to get dkim working on my virtual servers I have enabled dkim in Email Settings:

Signing of outgoing mail enabled? Yes
Selector for DKIM record name 2018
Reject incoming email with invalid DKIM signature? Yes
Force generation of new private key? No
Size of new DKIM key 2048.

I copied the public key to my DNS and check shows the record is in DNS and checks out Ok.

However when I send email it is not signed and checking the /var/log/mail.log shows the following:

warning: connect to Milter service inet:localhost:8891: Connection refused

FirewallID shows the port 8891 open for tcp

domain is

How do I fix this?

Thu, 08/30/2018 - 08:40

Forumrules about versions and so on?

Thu, 08/30/2018 - 19:02
Fri, 08/31/2018 - 04:23

FINE: So your OS is DEBIAN , for users wo search support forum, versions and nr's are important to mention, also if one want's support makes life much easier. ;)

Tue, 09/04/2018 - 08:14

The Link from dkelly60 did the magic. Thanks a lot.

Operating system Debian Linux 9 | Webmin version 1.891 | Usermin version 1.741 | Virtualmin version 6.03

Tue, 10/08/2019 - 07:16

Thanks dkelly60 for finding the bug and solution,

These commands fixed it for me on debian 9:

/lib/opendkim/opendkim.service.generate systemctl daemon-reload service opendkim restart

Topic locked