DKIM configuration

SYSTEM INFORMATION
OS type and version CENOS 9
Virtualmin version 7.30.8

I went in virtualmin and set it to sign outgoing However I noticed that it was not signing.

The log would give
no signing domain match for ‘mydomain.com

Looking in /etc/opendkim.conf, I saw:
Domain /etc/dkim-domains.txt

However it doesnt seem correct.
I tried:
Domain mydomain.com

Then everything started working

Is this a bug? or am I doing something wrong?

That’s how mine is on Debian 11 with /etc/dkim-domains.tx listing ALL domains to sign for. Did you check the /etc/dkim-domains.txt to see if mydomain.com was listed there?

1 Like

Not sure that centos 9 would be the same and it’s not a grade A (as far as virtualmin is concerned) OS so the op may run in to other issues

1 Like

It’s the same on EL distros (which CentOS no longer is, and you’re right it’s not supported, but in this case it should work the same as everywhere else).