Allow user to provide Amavis configuration (#299)

* Add the option of manually specifying paths to SSL certificates

* Adding tests for manual SSL changes

* Allow user provided configuration of amavis
This commit is contained in:
Morgan Kesler 2016-09-02 03:08:41 -04:00 committed by Thomas VIAL
parent 4e253a098d
commit 02f854f4e9
3 changed files with 31 additions and 1 deletions

View file

@ -397,6 +397,12 @@ fi
if ! [ "$DISABLE_CLAMAV" = 1 ]; then
/etc/init.d/clamav-daemon start
fi
# Copy user provided configuration files if provided
if [ -f /tmp/docker-mailserver/amavis.cf ]; then
cp /tmp/docker-mailserver/amavis.cf /etc/amavis/conf.d/50-user
fi
if ! [ "$DISABLE_AMAVIS" = 1 ]; then
/etc/init.d/amavis start
fi