Add mailserver.dovecot.config option
This commit is contained in:
parent
cb44252733
commit
1b86e487cc
2 changed files with 14 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ mailserver:
|
||||||
srs_domain: "srs.{{ inventory_hostname }}"
|
srs_domain: "srs.{{ inventory_hostname }}"
|
||||||
dovecot:
|
dovecot:
|
||||||
debug: false
|
debug: false
|
||||||
|
config: {}
|
||||||
postfixadmin:
|
postfixadmin:
|
||||||
php_fpm_config:
|
php_fpm_config:
|
||||||
user: postfixadmin
|
user: postfixadmin
|
||||||
|
|
|
||||||
|
|
@ -158,3 +158,16 @@ auth_verbose = yes
|
||||||
auth_debug = yes
|
auth_debug = yes
|
||||||
mail_debug = yes
|
mail_debug = yes
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% macro config_items(obj) %}
|
||||||
|
{% for key, value in obj.items() %}
|
||||||
|
{% if value is mapping %}
|
||||||
|
{{ key }} {
|
||||||
|
{{ config_items(value)|indent(first=true) }}
|
||||||
|
}
|
||||||
|
{% else %}
|
||||||
|
{{ key }} = {{ value }}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endmacro %}
|
||||||
|
{{ config_items(mailserver.dovecot.config) }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue