Adding the PERMIT_DOCKER option (#270)

* Adding the PERMIT_DOCKER option

See README.md for more informations

* Adding some test for PERMIT_DOCKER option

* Fix test cases

* Opendkim and Openmarc configuration

Fix docker network range
Adding opendkim and openmarc configuration

* Adding some options for tests

* Update log message

* Update tests
This commit is contained in:
Zehir 2016-08-21 22:10:13 +02:00 committed by Thomas VIAL
parent 0e8934c151
commit 8b289f6717
5 changed files with 59 additions and 1 deletions

View file

@ -26,6 +26,7 @@ run:
-e SASL_PASSWD="external-domain.com username:password" \
-e ENABLE_MANAGESIEVE=1 \
-e ONE_DIR=1 \
-e PERMIT_DOCKER=host\
-h mail.my-domain.com -t $(NAME)
sleep 20
docker run -d --name mail_pop3 \
@ -40,6 +41,7 @@ run:
-v "`pwd`/test/config":/tmp/docker-mailserver \
-v "`pwd`/test":/tmp/docker-mailserver-test \
-e SMTP_ONLY=1 \
-e PERMIT_DOCKER=network\
-h mail.my-domain.com -t $(NAME)
sleep 20
docker run -d --name mail_fail2ban \