allow mailserver to relay from connected docker networks
let's hope it's not an open relay...
This commit is contained in:
parent
3ad9fa487b
commit
083740e0e8
2 changed files with 3 additions and 2 deletions
|
@ -66,7 +66,7 @@ UPDATE_CHECK_INTERVAL=1d
|
|||
# host => Add docker container network (ipv4 only)
|
||||
# network => Add all docker container networks (ipv4 only)
|
||||
# connected-networks => Add all connected docker networks (ipv4 only)
|
||||
PERMIT_DOCKER=none
|
||||
PERMIT_DOCKER=connected-networks
|
||||
|
||||
# Set the timezone. If this variable is unset, the container runtime will try to detect the time using
|
||||
# `/etc/localtime`, which you can alternatively mount into the container. The value of this variable
|
||||
|
@ -339,7 +339,7 @@ POSTFIX_REJECT_UNKNOWN_CLIENT_HOSTNAME=0
|
|||
# ipv6 => Use only IPv6 traffic.
|
||||
#
|
||||
# Note: More details at http://www.postfix.org/postconf.5.html#inet_protocols
|
||||
POSTFIX_INET_PROTOCOLS=all
|
||||
POSTFIX_INET_PROTOCOLS=ipv4
|
||||
|
||||
# Choose TCP/IP protocols for dovecot to use
|
||||
# **all** => Listen on all interfaces
|
||||
|
|
1
env.sh
1
env.sh
|
@ -1 +1,2 @@
|
|||
alias nextcloud-occ='docker exec -it -u 33 nextcloud-app /var/www/html/occ'
|
||||
alias mail-setup='docker exec -it mailserver setup'
|
||||
|
|
Loading…
Reference in a new issue