{% for domain in opendkim_domains %} {% for selector in opendkim_domains[domain]['keys'] %} {{ selector }}._domainkey.{{ domain }} {{ domain }}:{{ selector }}:/etc/opendkim/keys/{{ domain }}/{{ selector }}.private {% endfor %} {% endfor %}