From 0df97da39d277aa847f40d43e7237f68b4f9ac13 Mon Sep 17 00:00:00 2001 From: Josef Friedrich Date: Tue, 24 May 2016 19:19:06 +0200 Subject: [PATCH] Add user configuration file for dovecot --- config/dovecot.cf | 0 target/start-mailserver.sh | 5 +++++ 2 files changed, 5 insertions(+) create mode 100644 config/dovecot.cf diff --git a/config/dovecot.cf b/config/dovecot.cf new file mode 100644 index 00000000..e69de29b diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 6e8ba07b..ef045ca7 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -290,6 +290,11 @@ if [ "$ENABLE_POP3" = 1 -a "$SMTP_ONLY" != 1 ]; then /usr/sbin/dovecot reload fi +if [ -f /tmp/docker-mailserver/dovecot.cf ]; then + cp /tmp/docker-mailserver/dovecot.cf /etc/dovecot/local.conf + /usr/sbin/dovecot reload +fi + # Start services related to SMTP /etc/init.d/spamassassin start /etc/init.d/clamav-daemon start