aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/templates/postfix/virtual-users.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mail/templates/postfix/virtual-users.j2')
-rw-r--r--roles/mail/templates/postfix/virtual-users.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/mail/templates/postfix/virtual-users.j2 b/roles/mail/templates/postfix/virtual-users.j2
index 4de0a60..2408196 100644
--- a/roles/mail/templates/postfix/virtual-users.j2
+++ b/roles/mail/templates/postfix/virtual-users.j2
@@ -41,6 +41,6 @@
# Envelope sender | Owner (SASL login names)
# ---------------------------------------------------------------------
{% set mydomain = mail.domains[0] %}
-{% for user in ["aly", "wt", "lulu", "root"] %}
-{{ user }}@{{ mydomain }} {{ user }}@{{ mydomain }}
+{% for user in mail.userdb %}
+{{ user.name }}@{{ mydomain }} {{ user.name }}@{{ mydomain }}
{% endfor %}