blob: cd67671a8aa27e52d578e8a13ce192cab477e05e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
plugin {
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = ${dovecot_sieve_before_dir}
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute
sieve_plugins = sieve_extprograms sieve_imapsieve
sieve_quota_max_scripts = 10
sieve_quota_max_storage = 2M
# The default value for this is "sender", but that will totally break SPF
sieve_redirect_envelope_from = orig_recipient
# From elsewhere to Junk folder
imapsieve_mailbox1_name = Junk
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_before = file:${dovecot_conf_dir}/report-spam.sieve
# From Junk folder to elsewhere
imapsieve_mailbox2_name = *
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_before = file:${dovecot_conf_dir}/report-ham.sieve
sieve_global_extensions = +vnd.dovecot.pipe
}
|