From 80dd91ae6232168fb866b11aae8f71c21b7921ca Mon Sep 17 00:00:00 2001 From: Casper Date: Mon, 18 Apr 2022 18:09:06 +0200 Subject: [PATCH] Dockerfile: Remove not needed ENVs and add comment (#2541) --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 15916ae2..d2c9e922 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,14 +21,14 @@ LABEL org.opencontainers.image.url="https://github.com/docker-mailserver" LABEL org.opencontainers.image.documentation="https://github.com/docker-mailserver/docker-mailserver/blob/master/README.md" LABEL org.opencontainers.image.source="https://github.com/docker-mailserver/docker-mailserver" -ENV ENABLE_POSTGREY=0 +# These ENVs are referenced in target/supervisor/conf.d/saslauth.conf +# and must be present when supervisord starts. +# If necessary, their values are adjusted by target/scripts/start-mailserver.sh on startup. ENV FETCHMAIL_POLL=300 -ENV ONE_DIR=1 ENV POSTGREY_AUTO_WHITELIST_CLIENTS=5 ENV POSTGREY_DELAY=300 ENV POSTGREY_MAX_AGE=35 ENV POSTGREY_TEXT="Delayed by Postgrey" -ENV SASLAUTHD_MECHANISMS=pam ENV SASLAUTHD_MECH_OPTIONS="" SHELL ["/bin/bash", "-o", "pipefail", "-c"]