Hi everyone, I'm stuck with DKIM validation since hours, and I hope someone will have some suggestions, because.. It turn me crazy. I have an issue on a fresh ISPConfig setup, after following this tutorial : Debian 9 (Nginx, BIND, Dovecot, ISPConfig 3.1) howtoforge.com/tutorial/perfect-server-debian-9-nginx-bind-dovecot-ispconfig-3.1/ When an e.mail is sent from my server from a domain with DKIM activated, the mail seems signed, but not correctly (bad RSA signature). The DNS for the domain have the DKIM entry : Hostname: 1530133051._domainkey.pixiblack.com. Text: v=DKIM1; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAooNqKyuohAscoqq9LBXex21ewTrLV1qLYrXupGxgDf4YGTfZjKGzgVp0NRQijvH1Q95v1thoYrua2kn4UJH+K54pHXQ1MQSMNNBi1M2vi4r5inxw28mw8owi39qs+ZqMDv73gpjU7gPOJt/QCpfKSg+JqQ+llkV1HM1MOiutnp5KOe8I+BrE0x1K1x9+fwGiIuP2wzVfC+kwk2UphwtNECbFBwof/noiNEtYCUCKslnwawyh2yklzwkyLMOkS5PVW07kHL8p3wk6FrDazM6K1Kngy601UzuuplfFM7dbZV8GyYOq2zu3rMQO1cqzTBRUS2KxneJCOglQZk6i1njxoQIDAQAB I checked the dkim files for the domain, here : /var/lib/amavis/dkim/ It contain the same values (private/public key) that i can see on Ispconfig domain mails options. When i perform an "amavisd-new testkeys" on the server, i still got this answer : TESTING#1 pixiblack.com: 1530133051._domainkey.pixiblack.com => fail (bad RSA signature) I believe there is something wrong with amavisd !? But after searching, i can't find the solution. My postfix/master.cf : pastebin.com/cmptz8Ht Thanks for reading. If you have any suggestion, feel free <3 Florent.