{% for domain in (postfix_relaxed_smtpd_domains | d([])) -%} {{ domain }} OK {% endfor -%}