{% 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 %}