After installing IredMail on my Debian 9 server, I followed this tutorial to configure DKIM Add new domain to iRedmail - with DKIM signature.
After following all the steps and running the amavisd-new testkeys
command I get the following response:
First:
TESTING#1 mydomin.com: dkim._domainkey.mydomin.com => fail (OpenSSL error: data too large for modulus)
But if I run the command again, I get this other message:
TESTING#1 mydomin.com: dkim._domainkey.mydomin.com => fail (bad RSA signature)