diff --git a/dockerfiles/dovecot/Dockerfile b/dockerfiles/dovecot/Dockerfile index 3c68cf1..19df711 100644 --- a/dockerfiles/dovecot/Dockerfile +++ b/dockerfiles/dovecot/Dockerfile @@ -8,11 +8,13 @@ RUN apk --no-cache add dovecot dovecot-lmtpd dovecot-submissiond bash # RUN wget https://github.com/dovecot/docker/blob/main/2.3.21/dovecot.list # RUN cp dovecot.list /etc/apt/sources.list.d -COPY password_file /etc/dovecot/secrets/dovecot_password_file +COPY password_file /etc/dovecot/dovecot_password_file COPY dovecot.conf /etc/dovecot/dovecot.conf +COPY startup.sh /usr/bin/startup.sh +RUN chmod +x /usr/bin/startup.sh EXPOSE 24 EXPOSE 143 EXPOSE 993 -CMD [ "dovecot", "-F" ] \ No newline at end of file +CMD [ "startup.sh" ] \ No newline at end of file diff --git a/dockerfiles/dovecot/dovecot.conf b/dockerfiles/dovecot/dovecot.conf index ef59f46..b2e671e 100644 --- a/dockerfiles/dovecot/dovecot.conf +++ b/dockerfiles/dovecot/dovecot.conf @@ -25,6 +25,7 @@ userdb { } ssl=no +disable_plaintext_auth=no # ssl_cert=