aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/templates/dkim/KeyTable.j2
blob: 450bf87cb01290e4830e853a915fd55dc434f521 (plain)
1
2
3
4
5
6
7
8
9
10
# OpenDKIM KeyTable
# Map key names to signing keys
# See opendkim.conf(5)
# See also: http://opendkim.org/opendkim-README

# <key-name>  <domain>:<selector>:<private-key-path>
{% for domain in mail.domains %}
{% set keyfile = "/usr/local/etc/mail/dkim/" + domain + "-" + mail.dkim.selector + ".pem" %}
{{ domain }}.key  {{ domain }}:{{ mail.dkim.selector }}:{{ keyfile }}
{% endfor %}