On 15.06.2018 19:39, @lbutlr wrote: > After turning one bug, I am getting slightly more information: > > 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 Did you try running /usr/lib/dovecot/sieve/sa-learn-spam.sh outside of the sieve script?