[Rspamd-Users] proxy; dkim_module_load_key_format: cannot load dkim key
leo1subscr at zudiewiener.com
Tue Jul 16 02:10:09 UTC 2019
You are correct. The setting for the /var/lib/rspamd/dkim didn't have
write access for _rspamd.
Not sure why it would need write, but after changing this everything works.
On 15/7/19 7:48 pm, Remko Lodder wrote:
> subscription2 wrote on 15/07/2019 01:06:
>> Investigating why DKIM signing isn't working as expected and found
>> the following in the log
>> 019-07-14 20:33:06 #13799(rspamd_proxy) <1a9b8c>; proxy;
>> dkim_module_load_key_format: cannot load dkim key
>> /var/lib/rspamd/dkim/2019.key: cannot stat key file:
>> '/var/lib/rspamd/dkim/2019.key' Permission denied
>> 2019-07-14 20:33:06 #13799(rspamd_proxy) <1a9b8c>; lua; arc.lua:611:
>> cannot read key from /var/lib/rspamd/dkim/2019.key: Permission denied
>> I'm running on the latest Ubuntu LTS server and can't figure out why
>> I get this error.
>> Persmissions are
>> -r--r--r-- 1 _rspamd _rspamd 916 Jul 11 00:37 2019.key
> But can _rspamd also enter the directory? Perhaps the permissions on
> the path are incorrect.
More information about the Users