diff options
Diffstat (limited to 'ansible/roles/dovecot/files/dovecot/conf.d/90-sieve.conf')
-rw-r--r-- | ansible/roles/dovecot/files/dovecot/conf.d/90-sieve.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ansible/roles/dovecot/files/dovecot/conf.d/90-sieve.conf b/ansible/roles/dovecot/files/dovecot/conf.d/90-sieve.conf new file mode 100644 index 0000000..9a753bf --- /dev/null +++ b/ansible/roles/dovecot/files/dovecot/conf.d/90-sieve.conf | |||
@@ -0,0 +1,34 @@ | |||
1 | plugin { | ||
2 | # 'active' is a symlink to one sieve source script inside directory at 'file' | ||
3 | sieve = file:~/sieve;active=~/.dovecot.sieve | ||
4 | |||
5 | # directory of global sieve scripts to run before and after processing ALL | ||
6 | # incoming mail | ||
7 | sieve_before = /etc/dovecot/sieve-before.d | ||
8 | sieve_after = /etc/dovecot/sieve-after.d | ||
9 | |||
10 | # make sieve aware of [email protected] aliases | ||
11 | recipient_delimiter = + | ||
12 | |||
13 | |||
14 | # no limits on script size or actions | ||
15 | sieve_quota_max_storage = 0 | ||
16 | sieve_max_script_size = 0 | ||
17 | sieve_max_actions = 0 | ||
18 | |||
19 | sieve_extensions = +spamtest +spamtestplus | ||
20 | |||
21 | sieve_spamtest_status_header = X-Spam-Score | ||
22 | sieve_spamtest_status_type = strlen | ||
23 | |||
24 | # X-Spamd-Bar: +++++++++ | ||
25 | sieve_spamtest_max_value = 9 | ||
26 | |||
27 | |||
28 | # X-Spamd-Result: default: False [9.19 / 15.00]; | ||
29 | # (regex not fixed to capture the above) | ||
30 | #sieve_spamtest_status_type = score | ||
31 | #sieve_spamtest_status_header = \ | ||
32 | # X-Spamd-Result: [[:alnum:]]+, score=(-?[[:digit:]]+\.[[:digit:]]) | ||
33 | #sieve_spamtest_max_value = 5.0 | ||
34 | } | ||