mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
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:
parent
4e253a098d
commit
02f854f4e9
3 changed files with 31 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue