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

This commit is contained in:
Georg Lauterbach 2020-09-27 22:15:21 +02:00
parent 6aad01abbd
commit 68e27162f3
1 changed files with 2 additions and 0 deletions

View File

@ -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: