Add user configuration file for dovecot

This commit is contained in:
Josef Friedrich 2016-05-24 19:19:06 +02:00
parent e2409edadb
commit 0df97da39d
2 changed files with 5 additions and 0 deletions

0
config/dovecot.cf Normal file
View file

View file

@ -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