mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
parent
7f3fe45a83
commit
43df48cb06
|
@ -298,7 +298,7 @@ Enables the Sender Rewriting Scheme. SRS is needed if your mail server acts as f
|
||||||
|
|
||||||
##### PERMIT_DOCKER
|
##### PERMIT_DOCKER
|
||||||
|
|
||||||
Set different options for mynetworks option (can be overwrite in postfix-main.cf)
|
Set different options for mynetworks option (can be overwrite in postfix-main.cf) **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.
|
||||||
- **empty** => localhost only
|
- **empty** => localhost only
|
||||||
- host => Add docker host (ipv4 only)
|
- host => Add docker host (ipv4 only)
|
||||||
- network => Add the docker default bridge network (172.16.0.0/12); **WARNING**: `docker-compose` might use others (e.g. 192.168.0.0/16) use `PERMIT_DOCKER=connected-networks` in this case
|
- network => Add the docker default bridge network (172.16.0.0/12); **WARNING**: `docker-compose` might use others (e.g. 192.168.0.0/16) use `PERMIT_DOCKER=connected-networks` in this case
|
||||||
|
|
|
@ -20,6 +20,9 @@ ONE_DIR=0
|
||||||
POSTMASTER_ADDRESS=
|
POSTMASTER_ADDRESS=
|
||||||
|
|
||||||
# Set different options for mynetworks option (can be overwrite in postfix-main.cf)
|
# Set different options for mynetworks option (can be overwrite in postfix-main.cf)
|
||||||
|
# **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://github.com/tomav/docker-mailserver/issues/1405#issuecomment-590106498
|
||||||
# empty => localhost only
|
# empty => localhost only
|
||||||
# host => Add docker host (ipv4 only)
|
# host => Add docker host (ipv4 only)
|
||||||
# network => Add all docker containers (ipv4 only)
|
# network => Add all docker containers (ipv4 only)
|
||||||
|
|
Loading…
Reference in a new issue