create dovecot config dirs

This commit is contained in:
Sebastian Hugentobler 2018-02-16 08:28:24 +01:00
parent e70287a91d
commit 11d41bcc5b

View File

@ -46,6 +46,8 @@ RUN apk --no-cache add \
libressl \
libressl2.6-libssl \
libressl2.6-libcrypto \
ssmtp \
ca-certificates \
lua
RUN addgroup -g 2222 dovecot
@ -54,6 +56,9 @@ RUN adduser -u 2222 -h /home/dovecot -D -G dovecot dovecot
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/
EXPOSE 143 4190 6334 7777
VOLUME /var/lib/vmail/mail/ /etc/ssl/mail