1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-23 16:06:52 +02:00

added default "user-patches.sh" to the first container "mail"

This commit is contained in:
Vortex 2019-10-31 09:01:44 +01:00
parent 437d3b74cc
commit def8400c17
2 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,7 @@ run:
-v "`pwd`/test/config":/tmp/docker-mailserver \
-v "`pwd`/test/test-files":/tmp/docker-mailserver-test:ro \
-v "`pwd`/test/onedir":/var/mail-state \
-v "`pwd`/test/config/user-patches/user-patches.sh:/tmp/docker-mailserver/user-patches.sh:ro \
-e ENABLE_CLAMAV=1 \
-e SPOOF_PROTECTION=1 \
-e ENABLE_SPAMASSASSIN=1 \

View File

@ -0,0 +1,6 @@
#!/bin/bash
##
# This user script will be executed between configuration and starting daemons
# To enable it you must save it in your config directory as "user-patches.sh"
##
echo "Default user-patches.sh successfully executed!"