aboutsummaryrefslogtreecommitdiff
path: root/roles/opendkim/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/opendkim/templates')
-rw-r--r--roles/opendkim/templates/opendkim.conf.j221
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
2On-BadSignature reject
3On-Security reject
4Syslog yes
5SyslogSuccess yes
6LogResults yes
7Canonicalization simple
8Mode sv
9OversignHeaders From
10Domain {{ domain }}
11Selector {{ dkim_selector }}
12KeyFile /etc/dkimkeys/{{ dkim_selector }}.pem
13UserID opendkim
14UMask 007
15Socket local:/var/spool/postfix/opendkim/opendkim.sock
16PidFile /run/opendkim/opendkim.pid
17TemporaryDirectory /run/opendkim
18InternalHosts 127.0.0.1
19TrustAnchorFile /usr/share/dns/root.key
20RequireSafeKeys True
21AlwaysAddARHeader True