mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Change default value of ONE_DIR (#2148)
* ONE_DIR=1 * Update Dockerfile * Update start-mailserver.sh * Update tests.bats * Update tests.bats Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
865787c8b0
commit
6336c0b256
|
@ -23,7 +23,7 @@ LABEL org.opencontainers.image.source="https://github.com/docker-mailserver/dock
|
||||||
|
|
||||||
ENV ENABLE_POSTGREY=0
|
ENV ENABLE_POSTGREY=0
|
||||||
ENV FETCHMAIL_POLL=300
|
ENV FETCHMAIL_POLL=300
|
||||||
ENV ONE_DIR=0
|
ENV ONE_DIR=1
|
||||||
ENV POSTGREY_AUTO_WHITELIST_CLIENTS=5
|
ENV POSTGREY_AUTO_WHITELIST_CLIENTS=5
|
||||||
ENV POSTGREY_DELAY=300
|
ENV POSTGREY_DELAY=300
|
||||||
ENV POSTGREY_MAX_AGE=35
|
ENV POSTGREY_MAX_AGE=35
|
||||||
|
|
|
@ -26,7 +26,7 @@ SUPERVISOR_LOGLEVEL=
|
||||||
|
|
||||||
# 0 => mail state in default directories
|
# 0 => mail state in default directories
|
||||||
# 1 => consolidate all states into a single directory (`/var/mail-state`) to allow persistence using docker volumes
|
# 1 => consolidate all states into a single directory (`/var/mail-state`) to allow persistence using docker volumes
|
||||||
ONE_DIR=0
|
ONE_DIR=1
|
||||||
|
|
||||||
# empty => postmaster@domain.com
|
# empty => postmaster@domain.com
|
||||||
# => Specify the postmaster address
|
# => Specify the postmaster address
|
||||||
|
|
|
@ -42,7 +42,7 @@ VARS[LOGROTATE_INTERVAL]="${LOGROTATE_INTERVAL:=${REPORT_INTERVAL:-daily}}"
|
||||||
VARS[LOGWATCH_INTERVAL]="${LOGWATCH_INTERVAL:=none}"
|
VARS[LOGWATCH_INTERVAL]="${LOGWATCH_INTERVAL:=none}"
|
||||||
VARS[MOVE_SPAM_TO_JUNK]="${MOVE_SPAM_TO_JUNK:=1}"
|
VARS[MOVE_SPAM_TO_JUNK]="${MOVE_SPAM_TO_JUNK:=1}"
|
||||||
VARS[NETWORK_INTERFACE]="${NETWORK_INTERFACE:=eth0}"
|
VARS[NETWORK_INTERFACE]="${NETWORK_INTERFACE:=eth0}"
|
||||||
VARS[ONE_DIR]="${ONE_DIR:=0}"
|
VARS[ONE_DIR]="${ONE_DIR:=1}"
|
||||||
VARS[OVERRIDE_HOSTNAME]="${OVERRIDE_HOSTNAME}"
|
VARS[OVERRIDE_HOSTNAME]="${OVERRIDE_HOSTNAME}"
|
||||||
VARS[POSTGREY_AUTO_WHITELIST_CLIENTS]="${POSTGREY_AUTO_WHITELIST_CLIENTS:=5}"
|
VARS[POSTGREY_AUTO_WHITELIST_CLIENTS]="${POSTGREY_AUTO_WHITELIST_CLIENTS:=5}"
|
||||||
VARS[POSTGREY_DELAY]="${POSTGREY_DELAY:=300}"
|
VARS[POSTGREY_DELAY]="${POSTGREY_DELAY:=300}"
|
||||||
|
|
Loading…
Reference in a new issue