diff options
Diffstat (limited to 'dovecot/sieve-after')
-rw-r--r-- | dovecot/sieve-after/spam-to-folder.sieve | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dovecot/sieve-after/spam-to-folder.sieve b/dovecot/sieve-after/spam-to-folder.sieve new file mode 100644 index 0000000..dc22eee --- /dev/null +++ b/dovecot/sieve-after/spam-to-folder.sieve @@ -0,0 +1,10 @@ +require "spamtestplus"; +require "fileinto"; +require "relational"; +require "comparator-i;ascii-numeric"; + +if spamtest :value "gt" :comparator "i;ascii-numeric" :percent "85" { + fileinto "Trash"; +} elsif spamtest :value "ge" :comparator "i;ascii-numeric" "3" { + fileinto "Junk"; +} |