Add ENABLE_FAIL2BAN environment variable to enable fail2ban service (it's not enabled by default, now).

* Changed/updated Makefile and integration tests
* Changed some grep expressions in the fail2ban tests
This commit is contained in:
angus 2016-03-31 12:33:47 +02:00
parent 55cfa30491
commit 5219aab9e8
4 changed files with 32 additions and 14 deletions

View file

@ -96,10 +96,13 @@ Example:
* SA_TAG2
* *6.31* (default) => add 'spam detected' headers at that level
* SA_KILL
* *6.31* (default) => triggers spam evasive actions)
* *6.31* (default) => triggers spam evasive actions
* SASL_PASSWORD
* *empty* (default) => No sasl_passwd will be created
* *string* => A /etc/postfix/sasl_passwd will be created with that content and postmap will be run on it
* ENABLE_FAIL2BAN
* *empty* (default) => fail2ban service disabled
* 1 => Enables fail2ban service
Please read [how the container starts](https://github.com/tomav/docker-mailserver/blob/master/start-mailserver.sh) to understand what's expected.