diff --git a/Dockerfile b/Dockerfile index 3febc26..bba696d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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