added warning message for PERMIT_DOCKER=network when using IPv6 (#1405)

Georg Lauterbach 2020-09-27 22:15:21 +02:00
parent a8ca414c64
commit 5d992f9c09
1 changed files with 2 additions and 0 deletions

@ -1,5 +1,7 @@
## Building a simple mailserver
**WARNING**: Adding the docker network's gateway to the list of trusted hosts, e.g. using the `network` or `connected-networks` option, can create an [**open relay**](https://en.wikipedia.org/wiki/Open_mail_relay), [for instance](https://github.com/tomav/docker-mailserver/issues/1405#issuecomment-590106498) if IPv6 is enabled on the host machine but not in Docker. ([#1405](https://github.com/tomav/docker-mailserver/issues/1405))
We are going to use this docker based mailserver:
- First create a directory for the mailserver and get the setup script: