fix postfixmaps
This commit is contained in:
parent
e14f57b40e
commit
313169db85
4 changed files with 6 additions and 5 deletions
|
|
@ -71,8 +71,9 @@ check_dovecot_quota: false
|
|||
|
||||
**postfixmaps**
|
||||
```
|
||||
# Should be '<path>': *mapddict*
|
||||
# Should be '<path>': *list of maps*
|
||||
# for Example:
|
||||
postfixmaps:
|
||||
"/etc/postfix/virtual":
|
||||
- 'test@example.com root@example.com'
|
||||
```
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ postfix:
|
|||
relay_domains: []
|
||||
sender_dependent_relayhost_maps: ''
|
||||
virtual_alias_maps: ''
|
||||
virtual_regex: []
|
||||
virtual_mailbox_domains: []
|
||||
mynetworks: []
|
||||
mydestination: []
|
||||
|
|
@ -35,5 +36,4 @@ postfix:
|
|||
aliases: mailForwardingAddress
|
||||
mailboxes: mailMessageStore
|
||||
check_dovecot_quota: false
|
||||
|
||||
postfixmaps: []
|
||||
|
|
|
|||
|
|
@ -61,6 +61,6 @@
|
|||
template:
|
||||
src: maps.j2
|
||||
dest: "{{ item }}"
|
||||
with_items: "{{ postfixmaps }}"
|
||||
with_items: "{{ postfix.postfixmaps }}"
|
||||
notify:
|
||||
- restart postfix
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
{% for i in postfixmaps[item] %}
|
||||
{% for i in postfix.postfixmaps[item] %}
|
||||
{{ i }}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue