Topic: problems with dkim signing & amavisd. iRedMail-0.6.1
I am having problems with dkim signing & amavisd. iRedMail-0.6.1 & IredAdmin-Pro-1.3.0
Error message:
Starting Mail Virus Scanner (amavisd): Error in config file "/etc/amavisd.conf": Can't open PEM file /var/lib/dkim/example.net.pem: Permission denied at /usr/sbin/amavisd line 561.
I have tried the following:
[root@smtp ~]# setfacl -m u:amavis:r-- /var/lib/dkim/example.net.pem
[root@smtp ~]# getfacl /var/lib/dkim/example.net.pem
getfacl: Removing leading '/' from absolute path names
# file: var/lib/dkim/example.net.pem
# owner: root
# group: root
user::rw-
user:amavis:r--
group::r--
mask::r--
other::r--
Same problem, amavisd will not start. I have also tried #chmod +r /var/lib/dkim/example.net.pem
Snips of amavisd.conf:
@local_domains_maps = ( [".$mydomain","example.net","example2.com","example3.com"] ); # list of all local domains
dkim_key(".", "dkim", "/var/lib/dkim/example.net.pem");
@dkim_signature_options_bysender_maps = ( {
# catchall defaults
'.' => { a => 'rsa-sha256', c => 'relaxed/simple', ttl => 30*24*3600 },
} );
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.