You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-09 23:07:35 +02:00
Fix for multiple IPV4
This commit is contained in:
@@ -231,7 +231,7 @@ touch /etc/postfix/vmailbox && postmap /etc/postfix/vmailbox
|
|||||||
touch /etc/postfix/virtual && postmap /etc/postfix/virtual
|
touch /etc/postfix/virtual && postmap /etc/postfix/virtual
|
||||||
|
|
||||||
# PERMIT_DOCKER Option
|
# PERMIT_DOCKER Option
|
||||||
container_ip=$(ip addr show eth0 | grep 'inet ' | sed 's/[^0-9\.\/]*//g' | cut -d '/' -f 1)
|
container_ip=$(ip addr show eth0 | grep 'inet 172\.' | sed 's/[^0-9\.\/]*//g' | cut -d '/' -f 1)
|
||||||
container_network="$(echo $container_ip | cut -d '.' -f1-2).0.0"
|
container_network="$(echo $container_ip | cut -d '.' -f1-2).0.0"
|
||||||
case $PERMIT_DOCKER in
|
case $PERMIT_DOCKER in
|
||||||
"host" )
|
"host" )
|
||||||
|
Reference in New Issue
Block a user