mailinabox/conf/sieve-spam.txt

9 lines
146 B
Plaintext

require ["regex", "fileinto", "imap4flags"];
if allof (header :regex "X-Spam-Status" "^Yes") {
setflag "\\Seen";
fileinto "Spam";
stop;
}