diff options
-rw-r--r-- | roles/postfix/templates/aliases.users | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/postfix/templates/aliases.users b/roles/postfix/templates/aliases.users index 20ef480..9b13e3b 100644 --- a/roles/postfix/templates/aliases.users +++ b/roles/postfix/templates/aliases.users @@ -1,5 +1,7 @@ +{% if postfix_aliases is defined %} {% for item in postfix_aliases %} {{ item.alias }}: {% if item.mail is string %} {{ item.mail }} {% else %} {{ item.mail |join(',') }} {% endif %} {% endfor %} +{% endif %} |