filter spam AFTER
This commit is contained in:
parent
3746205a60
commit
8a8bd926db
@ -95,9 +95,9 @@ RUN addgroup -g 1111 vmail
|
|||||||
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
|
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
|
||||||
|
|
||||||
RUN mkdir -p /etc/dovecot/conf.d
|
RUN mkdir -p /etc/dovecot/conf.d
|
||||||
RUN mkdir /var/lib/vmail/sieve-before/
|
RUN mkdir /var/lib/vmail/sieve-after/
|
||||||
|
|
||||||
RUN chown -R vmail:vmail /var/lib/vmail/sieve-before/
|
RUN chown -R vmail:vmail /var/lib/vmail/sieve-after/
|
||||||
|
|
||||||
EXPOSE 143 4190 6334 7777
|
EXPOSE 143 4190 6334 7777
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[template]
|
[template]
|
||||||
src = "spam.sieve.tmpl"
|
src = "spam.sieve.tmpl"
|
||||||
dest = "/var/lib/vmail/sieve-before/spam.sieve"
|
dest = "/var/lib/vmail/sieve-after/spam.sieve"
|
||||||
gid = 1111
|
gid = 1111
|
||||||
uid = 1111
|
uid = 1111
|
||||||
mode = "0660"
|
mode = "0660"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
plugin {
|
plugin {
|
||||||
sieve_before = /var/lib/vmail/sieve-before/
|
sieve = /var/lib/vmail/mail/%u/rules.sieve
|
||||||
|
sieve_after = /var/lib/vmail/sieve-after/
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user