my ISPConfig is configured to use rspamd and i've added a DKIM Key in ISPConfig UI. While sending an e-Mail it is trying to sign but the key file is not readable by _rspamd.
My workaround was to add "_rspamd" as a member in group "amavis" so /etc/group the entry loosk now: amavis:x:124:clamav,_rspamd
I am not sure if this is the best way to allow rspamd read a dkim key in the /var/lib/amavisamavis folder, for security purposes maybe it is better to make another solution. it is up to you :)
Hi ISPconfig Team,
my ISPConfig is configured to use rspamd and i've added a DKIM Key in ISPConfig UI. While sending an e-Mail it is trying to sign but the key file is not readable by _rspamd.
My workaround was to add "_rspamd" as a member in group "amavis" so /etc/group the entry loosk now:
amavis:x:124:clamav,_rspamd
2021-08-12 22:10:54 #1758486(normal) <b314eb>; task; dkim_module_load_key_format: cannot load dkim key /var/lib/amavis/dkim/MYDOMAIN.de.private: cannot stat key file: '/var/lib/amavis/dkim/MYDOMAIN.de.private' Permission denied
I am not sure if this is the best way to allow rspamd read a dkim key in the /var/lib/amavisamavis folder, for security purposes maybe it is better to make another solution. it is up to you :)
Affected version: (Ubuntu 20.04.2 LTS (Focal Fossa)) ISPConfig 3.2.4
thanks for checking this issue. all the best schroeffu