summaryrefslogtreecommitdiffstats
path: root/server/setup/05-service-settings/var/lib/dovecot
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-06 02:11:24 +0200
committerSven Gothel <[email protected]>2013-06-06 02:11:24 +0200
commit37e89102f700a8187f994098b7944c5ec236bc97 (patch)
treea4fce6b084028867af4fb8c9756d6b6b4919efc0 /server/setup/05-service-settings/var/lib/dovecot
parent2b17b948cd81e1cb945d5a057bd96316e904e3f3 (diff)
server config part-1: logging, move backup files and users, mysql, procmail, bogofilter, sasl2, dovecot, sendmail
Diffstat (limited to 'server/setup/05-service-settings/var/lib/dovecot')
-rw-r--r--server/setup/05-service-settings/var/lib/dovecot/sieve/global/default.sieve1
-rw-r--r--server/setup/05-service-settings/var/lib/dovecot/sieve/prologue.sieve11
2 files changed, 12 insertions, 0 deletions
diff --git a/server/setup/05-service-settings/var/lib/dovecot/sieve/global/default.sieve b/server/setup/05-service-settings/var/lib/dovecot/sieve/global/default.sieve
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/server/setup/05-service-settings/var/lib/dovecot/sieve/global/default.sieve
@@ -0,0 +1 @@
+
diff --git a/server/setup/05-service-settings/var/lib/dovecot/sieve/prologue.sieve b/server/setup/05-service-settings/var/lib/dovecot/sieve/prologue.sieve
new file mode 100644
index 0000000..c66db85
--- /dev/null
+++ b/server/setup/05-service-settings/var/lib/dovecot/sieve/prologue.sieve
@@ -0,0 +1,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";
+}
+