bundles/postfix: mynetworks now supports identifiers

This commit is contained in:
Franzi 2021-04-01 16:59:49 +02:00
parent b7222e2cd1
commit 61c6188454
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 25 additions and 1 deletions

View file

@ -6,7 +6,7 @@ compatibility_level = 2
myhostname = ${node.metadata.get('postfix/myhostname', node.metadata['hostname'])}
myorigin = /etc/mailname
mydestination = $myhostname, localhost
mynetworks = 127.0.0.0/8 [::1]/128 [::ffff:127.0.0.0]/104 ${' '.join(sorted(node.metadata.get('postfix/mynetworks', set())))}
mynetworks = ${' '.join(sorted(mynetworks))}
mailbox_size_limit = 0
recipient_delimiter = +
inet_protocols = all