aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server
diff options
context:
space:
mode:
Diffstat (limited to 'files/usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server')
-rw-r--r--files/usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server b/files/usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server
new file mode 100644
index 0000000..7931a71
--- /dev/null
+++ b/files/usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server
@@ -0,0 +1,5 @@
+require ["fileinto"];
+
+if header :is "X-Spam" "Yes" {
+ fileinto "Junk";
+}