diff --git a/data/conf/dovecot/sieve_after b/data/conf/dovecot/sieve_after new file mode 100644 index 000000000..ae6aa5fee --- /dev/null +++ b/data/conf/dovecot/sieve_after @@ -0,0 +1,12 @@ +require "fileinto"; +require "mailbox"; +require "variables"; +require "subaddress"; +require "envelope"; + +if header :contains "X-Spam-Flag" "YES" { + fileinto "Junk"; +} +if envelope :detail :matches "to" "*" { + fileinto :create "INBOX/${1}"; +}