Topic: DKIM keys CentOS 6.x not working
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- 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:
====
Some suggestions to add to current "Documenation" at present:
http://www.iredmail.org/docs/sign.dkim. … omain.html
CentOS 6.6 current version. Append amavisd-new genrsa is not correct syntax for CentOS 6 with amavisd genrsa being accurate syntax. Example:
amavisd-new genrsa /var/lib/dkim/new_domain.com.pem
amavisd genrsa /var/lib/dkim/new_domain.com.pem 2048
NOTE: another possible POINT of CLARIFICATION for:
http://www.iredmail.org/docs/sign.dkim. … omain.html
"new_domain.com" => { d => "mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
If "new_domain.com is a subdomain, does the mydomain.com value get inserted as subdomain.
Example
"mail.domain_name.com" => { d => "mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
"mail.domain_name.com" => { d => "mail.mydomain.com", a => 'rsa-sha256', ttl => 10*24*3600 },
CROSS REFERENCE to another post/question (see script).
http://www.iredmail.org/forum/topic9219 … users.html
What is the correct ownership? What are the correct permissions for the file?
Example of originally generated file:
-rw-------. 1 amavis amavis 1.7K Jun 30 07:47 mydomain.com.pem
Assume the above unless told otherwise for new domain.
-rw-------. 1 amavis amavis 1.7K Jun 30 07:47 mail.mydomain.com.pem
On Another note: Is this still of value? If not, should it be archived as problematic?
https://code.google.com/p/iredmail/wiki/DNS_DKIM
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.