MythicSalt/states/email/dovecot/sieve-before.d/01-spam.sieve

14 lines
225 B
Sieve

require ["fileinfo"]
# Handle rspamd output
if header :contains "X-Spam-Status" "Yes"
{
fileinto :create "Spam";
stop;
}
if exists ["X-Spam-Bar"]
{
fileinto :create "Spam.ToClassify";
stop;
}