From 1e088983f6a80b6fd47543d0b4989e9ddb3234d5 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 4 Oct 2024 21:59:59 -0400 Subject: add imap stuff --- .../usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 files/usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server (limited to 'files/usr/local/etc/dovecot/sieve-before.d/10-rspamd.sieve.imap_server') 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"; +} -- cgit v1.2.3