[Rspamd-Users] Why does rspamd try to dkmim sign incoming mail?

Tino Hendricks t.hendricks at interpool.de
Wed Aug 21 15:15:47 UTC 2024



> Am 21.08.2024 um 15:19 schrieb G.W. Haywood <rspamd at jubileegroup.co.uk>:
> 
> Hi there,
> 
> On Wed, 21 Aug 2024, Johannes Rohr wrote:
> 
>> in the log I see recurring messages such as these:
>> 
>> 
>> cannot load dkim key /var/lib/rspamd/dkim/idma.space.dkim.key: cannot stat key file: '/var/lib/rspamd/dkim/idma.space.dkim.key' No such file or directory
>> 
>> cannot load dkim key /var/lib/rspamd/dkim/hollpack.pro.dkim.key: cannot stat key file: '/var/lib/rspamd/dkim/hollpack.pro.dkim.key' No such file or directory
>> 
>> Etc.
>> 
>> These are all from foreign servers, this is all incoming mail. Apparently, rspamd tries to dkim sign them. Why?
> 
> I'm guessing that you messed up the configuration, it make no sense to
> sign incoming mail unless for example you're relaying it on behalf of
> your own (trusted) senders.
> 
>> Can this be turned off somehomw?
> 
> Did you check the docs?
> 
> https://rspamd.com/doc/modules/dkim_signing.html
> 
> Does that help?

I followed these docs exactly and have the same behavior… 🤷🏼‍♂️
But was strong/lazy enough to ignore the logging noise. 

Tino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4339 bytes
Desc: not available
URL: <https://lists.rspamd.com/pipermail/users/attachments/20240821/e3d86660/attachment.bin>


More information about the Users mailing list