ansible/roles/dovecot/templates/passwd.j2
2020-10-21 16:18:30 +02:00

5 lines
235 B
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% for domain, users in dovecot_users.items() %}
{% for name, password in users.items() %}
{{ [[name, domain] | join("@"), password, 20002, 20002, ["/var/vmail", domain, name] | join("/"), ""] | join(":") }}
{% endfor %}
{% endfor %}