sieve after/before use folder instead of individual listing

Loading sieve scripts using a directory scheme permits to handle multi scripts wtihout defining individual sieve_before/sieve_after
This commit is contained in:
youtous 2020-05-04 00:24:10 +02:00
parent a12cd9a26d
commit 92414b7eba
No known key found for this signature in database
GPG key ID: 592173AE8CD254A5
4 changed files with 18 additions and 15 deletions

View file

@ -31,14 +31,14 @@ plugin {
# executed. The order of execution within a directory is determined by the
# file names, using a normal 8bit per-character comparison. Multiple script
# file or directory paths can be specified by appending an increasing number.
#sieve_before = /usr/lib/dovecot/sieve-global/before.dovecot.sieve
#sieve_before2 = /usr/lib/dovecot/sieve-global/before.spam.sieve
sieve_before = /usr/lib/dovecot/sieve-global/before/
#sieve_before2 =
#sieve_before3 = (etc...)
# Identical to sieve_before, only the specified scripts are executed after the
# user's script (only when keep is still in effect!). Multiple script file or
# directory paths can be specified by appending an increasing number.
#sieve_after = /usr/lib/dovecot/sieve-global/after.dovecot.sieve
sieve_after = /usr/lib/dovecot/sieve-global/after/
#sieve_after2 =
#sieve_after2 = (etc...)