summaryrefslogtreecommitdiffstats
path: root/server/setup/05-service-settings/var/lib/dovecot/sieve/prologue.sieve
blob: c66db855eb38484d60ab01e4158dacee22f20554 (plain)
1
2
3
4
5
6
7
8
9
10
11
require ["copy", "fileinto", "mailbox"];

#
# Spam First
#
if header :matches "X-Bogosity" "Spam*" {
   fileinto :create "0-Spam";
} elsif header :matches "X-Bogosity" "Unsure*" {
   fileinto :create :copy "0-Spam-unsure-copy";
}