diff options
Diffstat (limited to 'roles/opendkim/templates')
-rw-r--r-- | roles/opendkim/templates/opendkim.conf.j2 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/opendkim/templates/opendkim.conf.j2 b/roles/opendkim/templates/opendkim.conf.j2 new file mode 100644 index 0000000..d3335a2 --- /dev/null +++ b/roles/opendkim/templates/opendkim.conf.j2 | |||
@@ -0,0 +1,21 @@ | |||
1 | # OpenDKIM Configuration | ||
2 | On-BadSignature reject | ||
3 | On-Security reject | ||
4 | Syslog yes | ||
5 | SyslogSuccess yes | ||
6 | LogResults yes | ||
7 | Canonicalization simple | ||
8 | Mode sv | ||
9 | OversignHeaders From | ||
10 | Domain {{ domain }} | ||
11 | Selector {{ dkim_selector }} | ||
12 | KeyFile /etc/dkimkeys/{{ dkim_selector }}.pem | ||
13 | UserID opendkim | ||
14 | UMask 007 | ||
15 | Socket local:/var/spool/postfix/opendkim/opendkim.sock | ||
16 | PidFile /run/opendkim/opendkim.pid | ||
17 | TemporaryDirectory /run/opendkim | ||
18 | InternalHosts 127.0.0.1 | ||
19 | TrustAnchorFile /usr/share/dns/root.key | ||
20 | RequireSafeKeys True | ||
21 | AlwaysAddARHeader True | ||