aboutsummaryrefslogtreecommitdiff
path: root/roles/opendkim/templates
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2023-07-02 19:04:30 -0400
committerSam Chudnick <sam@chudnick.com>2023-07-02 19:04:30 -0400
commit724d877995dfcc10c462a18dcb4ea6c8b60c2d03 (patch)
tree270537b8fca585717c1ffa7708e492593f7b2ed5 /roles/opendkim/templates
initial commit
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