mailinabox/conf/sieve-spam.txt

8 lines
126 B
Plaintext

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