Permission problem when using sieve script

2024-01-27 Thread tacodewolff
Hi, I've been banging my head on this problem for a while now and need some help on this issue. I've set up Dovecot with Sieve scripts, which use bash scripts to either learn ham or learn spam. This is sent to the Rspamd controller (using a Unix socket at /var/run/rspamd/rspamd-controller.sock)

Re: Permission problem when using sieve script

2024-02-07 Thread tacodewolff
I've fixed this issue and wanted to get back for any else that might stumble upon this. Using `logger -p mail.err "$(id)"` in the sieve bash script I found out that the groups for dovecot:dovecot didn't include all groups as set in /etc/group. Apparently Dovecot doesn't respect the system's gro