I’m running Ubuntu 18.04LTS and an up to date version of Virtulamin.
I have setup DKIM validation for sending emails from one domain today (purely using the VirtualMin GUI). I got it working and my emails sent now pass DKIM checks. However, I rebooted the machine and did another test and found DKIM sig was not being sent with emails after I rebooted.
I went to System >> Bootup and Shutdown. I found the following:
- opendkim is listed, with start at book shows “yes” and running shows “unknown”
- When I check the entry and click the green Start button at the bottom the start at boot shows “yes” and running shows “yes”. Now if i send an email DKIM signature is sent.
- I checked opendkim and clicked the Start at Boot button at the bottom and the on screen message shows it is set to run at boot. However, if i restart the same issue occurs that it is not running and DKIM signatures are not applied to the emails unless I manually check opendkim and click the start button.
Does anyone have any ideas why it is not starting at boot? Also, on the Bootup and Shutdown page, in addition to opendkim being listed is there also meant to be an entry for opendkim.service? Currently only opendkim exists in the list.