+{% if postfix.smtp_outgoing is defined %}
+{% for item in postfix.smtp_outgoing %}
+{{item.name}} unix - - - - - smtp
+ -o smtp_helo_name={{item.hostname}}
+ -o smtp_bind_address={{item.ip}}
+{% if item.ip_v6 is defined %}
+ -o smtp_bind_address6={{item.ip_v6}}
+{% else %}
+ -o inet_protocols=ipv4
+{% endif %}
+{% endfor %}
+{% else %}