diff options
Diffstat (limited to 'roles/mail/opendkim/templates')
-rw-r--r-- | roles/mail/opendkim/templates/KeyTable.j2 | 5 | ||||
-rw-r--r-- | roles/mail/opendkim/templates/SigningTable.j2 | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/roles/mail/opendkim/templates/KeyTable.j2 b/roles/mail/opendkim/templates/KeyTable.j2 new file mode 100644 index 00000000..99061267 --- /dev/null +++ b/roles/mail/opendkim/templates/KeyTable.j2 @@ -0,0 +1,5 @@ +{% 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 %} diff --git a/roles/mail/opendkim/templates/SigningTable.j2 b/roles/mail/opendkim/templates/SigningTable.j2 new file mode 100644 index 00000000..bfadaac5 --- /dev/null +++ b/roles/mail/opendkim/templates/SigningTable.j2 @@ -0,0 +1,3 @@ +{% for domain in opendkim_domains %} +*@{{ domain }} {{ opendkim_domains[domain]['keys'] | first }}._domainkey.{{ domain }} +{% endfor %} |