I recently enabled DKIM Signing using Virtualmin, I am now receiving the following errors in my mail log and many website scripts are no longer sending out mail:
Jan 5 05:41:52 pacy01 dkim-filter[18156]: A9EFE700033 no key selected for signing
Jan 5 05:41:52 pacy01 postfix/cleanup[18715]: A9EFE700033: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=www-data@pacy01.pacyworld.com to=XXXXXX@yahoo.co.uk
I noticed that virtualmin uses “Domain *” in the dkim-filter.conf file. That could be the source of the issue. I think it’s best to list every domain in a separate file and use that instead of including all the domains by default.
I tried adding the following to the dkim-keys.conf file:
*@pacy01.pacyworld.com:pacy01.pacyworld.com:/etc/pacyworld
It fixed some messages except for the ones send by “www-data”. Unfortunately, this file get rewritten every time a new mail domain is added.
Yeah same problem here… was working fine on Debian 5.0 but on Debian 6.0 I need to comment that Domain * line out. If it gets uncommented on every domain addition I guess I will have to disable the DKIM service for the time being.