Hello I am encountering the same issue.
My domains have been DKIM signed since this PMG instance was setup still in version 7.X
It is currently at version 8.2.10 however my daily and weekly spam reports have stopped sending.
Running the command:
journalctl -u pmgspamreport.service -n 100
Results in hundreds of these outputs:
Feb 20 17:00:38 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:38 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:38 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:38 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:38 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:39 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:39 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:39 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:39 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:39 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:39 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:39 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:40 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
Feb 20 17:00:40 mailgate pmgqm[1086939]: DKIM signing: no domain found in ''
In Configuration --> Mail Proxy --> DKIM, this is my configuration:
Enable DKIM Signing YES
Selector PRIVATE
Signing Domain Source Envelope
Sign all Outgoing Mail Yes
SIGN DOMAINS
[My list of domains that should be signed]
In fact all my email sent out is DKIM signed I have verified this. So I am unsure why the daily spam report is looking at DKIM and failing at looking up the correct domain list?
I have tried resyncing the templates using
pmgconfig sync
Then restarting the services
Code:
systemctl restart pmgdaemon
systemctl restart pmgproxy
systemctl restart pmgspamreport.service
If I run the command:
pmgqm send
OR
pmgqm send --timespan yesterday
The daily spam reports get sent out without issue. I may just have to setup a cronjob for this in the interim until I figure out why systemd isn't sending this out or what the issue is with the DKIM.
In pmg.conf I see that the mailfrom address is correct "
mailgate@mydomain.com".
Double-checked the DKIM domains that need to be signed and "mydomain.com" is part of that list.