Anti spam script
require ["fileinto", "body", "imap4flags", "regex", "envelope", "spamtest", "relational", "comparator-i;ascii-numeric", "fileinto", "imap4flags"];
# Check for spam score
if allof (spamtest :value "ge" :comparator "i;ascii-numeric" "5") {
fileinto "Spam";
stop;
}
# Check for suspicious subject lines
if header :regex "Subject" ["(?i)\\b(viagra|cialis|