make sieve work

This commit is contained in:
Sebastian Hugentobler 2016-07-14 09:59:48 +02:00
parent b719c20293
commit c9326c4ec9
4 changed files with 11 additions and 7 deletions

View file

@ -2,12 +2,13 @@ FROM thallian/confd-env:latest
RUN apk add --no-cache dovecot dovecot-ldap dovecot-pigeonhole-plugin
RUN mkdir /etc/dovecot/sieve-after/
RUN addgroup -g 1111 vmail
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
RUN addgroup vmail
RUN adduser -h /var/lib/vmail -D -G vmail vmail
RUN mkdir /var/lib/vmail/sieve-after/
RUN chown vmail:vmail /var/lib/vmail/sieve-after/
EXPOSE 143 6334 7777
EXPOSE 143 4190 6334 7777
VOLUME /var/lib/vmail/mail/ /etc/ssl/mail