Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Sieve Filtering: Difference between revisions

Handle bad spam
(Restore simple spam folder use)
(Handle bad spam)
require ["fileinto","mailbox"];
if exists "X-Spam-Flag" {
if header :is "X-Spam-Flag" "YES" {
if exists "X-Spam-Bar" {
fileinto :create "spam";
# 20 OR MORE +
stop;
if header :contains "X-Spam-Bar" "++++++++++++++++++++" {
}
# Can't reject, not supported
fileinto :create "bad-spam";
stop;
}
}
fileinto :create "spam";
stop;
}
}
 
editor
471

edits