DKIM on Ubuntu 16.04 Server

Hi,

We recently completed a migration from Ubuntu 14.04 to 16.04.

Apparently, 16.04 does not include/support the 'dkim-filter' described in your documentation:

https://www.virtualmin.com/documentation/email/dkim

OpenDKIM is installed, running and listening on port 8891:

root@www3:~# netstat -tapn |grep 8891
tcp        0      0 127.0.0.1:8891          0.0.0.0:*               LISTEN      11854/opendkim

However, attempting to configure DKIM using:

Virtualmin → E-Mail Settings → DomainKeys Identified Mail

results in:

Failed to save DKIM settings : Systemd service opendkim cannot be created unless a command is given

So I have disabled it for now.

Do you have any clues for me?

I would also like to get DMARC working...

Thanks in advance,

G

Status: 
Active

Comments

OK, I think I got past this.

After disabling 'Signing of outgoing mail', I purged some packages in 'apt' and deleted a few conf files in '/etc':

apt purge opendkim libopendbx1 libopendbx1-sqlite3 librbl1 libunbound2 libvbr2
rm -f /etc/dkim*

Then I installed DKIM signing again:

Virtualmin → E-Mail Settings → DomainKeys Identified Mail

and enabled 'Signing of outgoing mail' again, and it did not error out.

Any additional tips for DKIM or DMARC?

Thanks,

G