Topic: DKIM Key - bad RSA signature
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
Hi,
I want to use DKIM records for my mail server, but it doesn't work to create a valid key.
with the iredmail installation there was already a key generated, when I do
amavisd-new testkeys
the output is
TESTING#1 mydomain.de: dkim._domainkey.mydomain.de => fail (bad RSA signature)
when i create a new key like
amavisd-new genrsa /var/lib/dkim/mydomain.de.pem 1024
or
amavisd-new -c /etc/amavis/conf.d/50-user genrsa /var/lib/dkim/mydomain.de.pem 1024
i get the same error when doing the test.
why is that, what am i doing wrong?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.