diff --git a/data/conf/dovecot/sieve_after b/data/conf/dovecot/sieve_after new file mode 100644 index 00000000..ae6aa5fe --- /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}"; +}