create dovecot config dirs
This commit is contained in:
parent
e70287a91d
commit
11d41bcc5b
@ -46,6 +46,8 @@ RUN apk --no-cache add \
|
|||||||
libressl \
|
libressl \
|
||||||
libressl2.6-libssl \
|
libressl2.6-libssl \
|
||||||
libressl2.6-libcrypto \
|
libressl2.6-libcrypto \
|
||||||
|
ssmtp \
|
||||||
|
ca-certificates \
|
||||||
lua
|
lua
|
||||||
|
|
||||||
RUN addgroup -g 2222 dovecot
|
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 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 /var/lib/vmail/sieve-after/
|
||||||
|
|
||||||
EXPOSE 143 4190 6334 7777
|
EXPOSE 143 4190 6334 7777
|
||||||
|
|
||||||
VOLUME /var/lib/vmail/mail/ /etc/ssl/mail
|
VOLUME /var/lib/vmail/mail/ /etc/ssl/mail
|
||||||
|
Loading…
Reference in New Issue
Block a user