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**
|
**postfixmaps**
|
||||||
```
|
```
|
||||||
# Should be '<path>': *mapddict*
|
# Should be '<path>': *list of maps*
|
||||||
# for Example:
|
# for Example:
|
||||||
postfixmaps:
|
postfixmaps:
|
||||||
"/etc/postfix/virtual":
|
"/etc/postfix/virtual":
|
||||||
|
- 'test@example.com root@example.com'
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ postfix:
|
||||||
relay_domains: []
|
relay_domains: []
|
||||||
sender_dependent_relayhost_maps: ''
|
sender_dependent_relayhost_maps: ''
|
||||||
virtual_alias_maps: ''
|
virtual_alias_maps: ''
|
||||||
|
virtual_regex: []
|
||||||
virtual_mailbox_domains: []
|
virtual_mailbox_domains: []
|
||||||
mynetworks: []
|
mynetworks: []
|
||||||
mydestination: []
|
mydestination: []
|
||||||
|
|
@ -35,5 +36,4 @@ postfix:
|
||||||
aliases: mailForwardingAddress
|
aliases: mailForwardingAddress
|
||||||
mailboxes: mailMessageStore
|
mailboxes: mailMessageStore
|
||||||
check_dovecot_quota: false
|
check_dovecot_quota: false
|
||||||
|
postfixmaps: []
|
||||||
postfixmaps: []
|
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,6 @@
|
||||||
template:
|
template:
|
||||||
src: maps.j2
|
src: maps.j2
|
||||||
dest: "{{ item }}"
|
dest: "{{ item }}"
|
||||||
with_items: "{{ postfixmaps }}"
|
with_items: "{{ postfix.postfixmaps }}"
|
||||||
notify:
|
notify:
|
||||||
- restart postfix
|
- restart postfix
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
{% for i in postfixmaps[item] %}
|
{% for i in postfix.postfixmaps[item] %}
|
||||||
{{ i }}
|
{{ i }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue