fix: mta folder permission

This commit is contained in:
lab 2021-12-21 15:34:40 +08:00
parent 53431dd15a
commit fdf4a29da6

View File

@ -2,6 +2,7 @@ FROM alpine:3.15
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
&& apk add dovecot-pgsql dovecot-lmtpd \ && apk add dovecot-pgsql dovecot-lmtpd \
&& chown -R mail /var/mail \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*
EXPOSE 143 993 EXPOSE 143 993