move spam messages in the before sieve hook
This commit is contained in:
parent
6c9b5208f5
commit
3746205a60
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -1,3 +1,3 @@
|
||||
plugin {
|
||||
sieve_after = /var/lib/vmail/sieve-after/
|
||||
sieve_before = /var/lib/vmail/sieve-before/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user