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?

Forumrules about versions and so on?

The solution was found in this link

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. :wink:

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

Thanks dkelly60 for finding the bug and solution,

These commands fixed it for me on debian 9:

systemctl daemon-reload
service opendkim restart