Topic: Unable to get the DKIM signature for the newly added domain
==== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.2
- Linux/BSD distribution name and version: CentOS 6.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hi,
I tried to add a new domain and hence generated the DKIM signature for that.
The error follows like this:
1. I tried to use amavisd-new but the I was told that the command was not supported and hence I just used just amavisd command only
2. When I generated the new DKIM signature for the new added domain using the amvisd genrsa command I was able to do so successfully. But when I tried to show the key using the following command:
amavisd showkeys mynewdomain.com
I got this error: No DKIM private keys match the selection list.
But when I go to the var/lib/dkim/mynewdomain.com.pem, I could see the key there though a lot bigger than the usual one that I get using the amavisd showkeys command.
Any idea what I might be missing now. Earlier I could generate the DKIM signature successfully but not sure what's missing now.
When I send the mail I could see dkim=fail message. Any help would highly be appreciated. Thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.