diff --git a/Makefile b/Makefile index e1aece17..d01131c3 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/test/config/user-patches/user-patches.sh b/test/config/user-patches/user-patches.sh new file mode 100644 index 00000000..4b8163d2 --- /dev/null +++ b/test/config/user-patches/user-patches.sh @@ -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!" \ No newline at end of file