This actually helped.
So I'm not entirely sure when my method stopped working, but for all I can tell it used to work. Now this has changed. I've changed rspamd-learn-spam.sh to this:
#!/bin/sh
exec /usr/bin/rspamc -h localhost:11333 -P
Manually testing this now works better, so I'll just have to wait for the spam mail to be missed to test if this actually solves the issue. Can't be that long.
PS: rspamd for my config doesn't use socket files. But the needed port is the same that's written in /etc/rspamd/local.d/worker-normal.inc (and in /etc/rspamd/rspamd.conf in the worker "normal"{} section).
On 16.09.24 11:21, Aki Tuomi wrote:
Also to double-check, can you compare your setup against https://doc.dovecot.org/2.3/configuration_manual/howto/antispam_with_sieve/#... ?
Aki