move spam messages in the before sieve hook

This commit is contained in:
Sebastian Hugentobler 2022-09-11 11:44:58 +02:00
parent 6c9b5208f5
commit 3746205a60
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
3 changed files with 4 additions and 4 deletions

View File

@ -95,9 +95,9 @@ RUN addgroup -g 1111 vmail
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
RUN mkdir -p /etc/dovecot/conf.d
RUN mkdir /var/lib/vmail/sieve-after/
RUN mkdir /var/lib/vmail/sieve-before/
RUN chown -R vmail:vmail /var/lib/vmail/sieve-after/
RUN chown -R vmail:vmail /var/lib/vmail/sieve-before/
EXPOSE 143 4190 6334 7777

View File

@ -1,6 +1,6 @@
[template]
src = "spam.sieve.tmpl"
dest = "/var/lib/vmail/sieve-after/spam.sieve"
dest = "/var/lib/vmail/sieve-before/spam.sieve"
gid = 1111
uid = 1111
mode = "0660"

View File

@ -1,3 +1,3 @@
plugin {
sieve_after = /var/lib/vmail/sieve-after/
sieve_before = /var/lib/vmail/sieve-before/
}