diff options
author | root <root@jones.dk> | 2016-10-25 00:00:54 +0200 |
---|---|---|
committer | root <root@jones.dk> | 2016-10-25 00:01:08 +0200 |
commit | e7e80aeb159ad019ff1829692c3ecf154196cf8c (patch) | |
tree | 61914310d81c3bd4dd4c76961e92848c2cc789dd /dovecot/sieve-after | |
parent | 83d7a438bb052e628477afa79c29c1853527ffb5 (diff) |
Add Dovecot-related tweaks.
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"; +} |