On 13 Jun 2018, at 16:14, @lbutlr <[email protected]> wrote: > On 13 Jun 2018, at 12:51, Sami Ketola <[email protected]> wrote: >> Are you sure your sieve even gets executed? Anything in the logs? can you >> enable mail_debug=yes and try again? >> Can you post your doveconf -n? > > I am not sure. I’ve made a couple of changes (put the default script and > compiled script into their own folder and defined sieve_global), but still no > joy. In fact, things are worse now as the report scripts have stopped working: > > imap(kremels): Error: sieve: Execution of script > /usr/lib/dovecot/sieve/report-spam.sieve failed
After turning one bug, I am getting slightly more information: Jun 15 10:33:57 mail dovecot: imap(kreme): Error: program `/usr/lib/dovecot/sieve/sa-learn-ham.sh' was forcibly terminated with signal 15 Jun 15 10:33:57 mail dovecot: imap(kreme): Error: sieve: pipe action: failed to pipe message to program `sa-learn-ham.sh': refer to server log for more information. [2018-06-15 10:33:57] Jun 15 10:33:57 mail dovecot: imap(kreme): Error: sieve: Execution of script /usr/lib/dovecot/sieve/report-ham.sieve failed Jun 15 10:33:57 mail dovecot: imap(kreme): sieve: left message in mailbox 'INBOX' Jun 15 10:34:44 mail dovecot: imap(kreme): Error: program `/usr/lib/dovecot/sieve/sa-learn-spam.sh' was forcibly terminated with signal 15 Jun 15 10:34:44 mail dovecot: imap(kreme): Error: sieve: pipe action: failed to pipe message to program `sa-learn-spam.sh': refer to server log for more information. [2018-06-15 10:34:44] Jun 15 10:34:44 mail dovecot: imap(kreme): sieve: left message in mailbox ‘Junk' No mention of the default script at all
