Just did a fresh install on Centos 8 with the latest ispconfig and rspamd. The dkim fails only on Gmail. Dkim is a pass on yahoo and other ispconfig servers. Also did a test using this site and it as pass. https://appmaildev.com/en/dkim Not sure why this is happening. Found the following old post and not sure if this is the real cause. https://www.hmailserver.com/forum/viewtopic.php?t=27904 P.V.Anthony
Just did the test and the dkim passed. But the spamassin said the dkim is not valid. I will check again. Thank you for the link for testing the email dkim.
Try generating a new DKIM key and if the domain's DNS is not managed by ISPConfig, copy the new record to your DNS provider.
Got it working. It was the quotes in the dns records. Replaced the quotes with space as mentioned in this post and it working with gmail. Also works with yahoo. https://www.howtoforge.com/communit...dard-new-ispconfig-install.86195/#post-416641