Added alias_maps as a separate option

Previously alias_maps was set to the same value as virtual_alias_maps, which
behaves quite differently and generally does not make much sense.
This commit is contained in:
Julian Rother 2021-10-16 16:41:48 +02:00
parent 6fc46ae4d1
commit 1a34983a35
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@ postfix:
- $alias_maps
transport_maps: []
sender_dependent_relayhost_maps: ''
alias_maps: ''
virtual_alias_maps: ''
virtual_regex: []
virtual_mailbox_domains: []

View file

@ -45,7 +45,7 @@ myorigin = $mydomain
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 {{ postfix.mynetworks|join(' ') }}
mydestination = {{ inventory_hostname_short }} {{ inventory_hostname }} localhost {{ postfix.mydestination|join(' ') }}
alias_maps = {{ postfix.virtual_alias_maps }}
alias_maps = {{ postfix.alias_maps }}
relayhost = {{ postfix.relayhost }}
relay_domains = {{ postfix.relay_domains|join(', ') }}