mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
WIP: actually test PERMIT_DOCKER=connected-networks
also showcase timeouts and makefile integration
This commit is contained in:
parent
eb988aba43
commit
fcce47a392
7 changed files with 139 additions and 29 deletions
|
@ -1040,6 +1040,7 @@ function _setup_docker_permit() {
|
|||
;;
|
||||
"connected-networks" )
|
||||
for network in $container_networks; do
|
||||
network=$(_sanitize_ipv4_to_subnet_cidr $network)
|
||||
notify 'inf' "Adding docker network $network in my networks"
|
||||
postconf -e "$(postconf | grep '^mynetworks =') $network"
|
||||
echo $network >> /etc/opendmarc/ignore.hosts
|
||||
|
@ -1611,6 +1612,8 @@ function _start_changedetector() {
|
|||
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
# >>
|
||||
|
||||
. /usr/local/bin/helper_functions.sh
|
||||
|
||||
if [[ ${DEFAULT_VARS["DMS_DEBUG"]} == 1 ]]; then
|
||||
notify 'taskgrp' ""
|
||||
notify 'taskgrp' "#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue