aboutsummaryrefslogtreecommitdiff
path: root/roles/opendkim/templates/opendkim.conf.j2
blob: d3335a23eabce4ffe0fa64c48426bfc77e0b3637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# OpenDKIM Configuration
On-BadSignature   reject
On-Security     reject
Syslog        yes
SyslogSuccess   yes
LogResults      yes
Canonicalization  simple
Mode        sv
OversignHeaders   From
Domain        {{ domain }}
Selector      {{ dkim_selector }}
KeyFile       /etc/dkimkeys/{{ dkim_selector }}.pem 
UserID        opendkim
UMask       007
Socket        local:/var/spool/postfix/opendkim/opendkim.sock
PidFile       /run/opendkim/opendkim.pid
TemporaryDirectory  /run/opendkim
InternalHosts   127.0.0.1
TrustAnchorFile   /usr/share/dns/root.key
RequireSafeKeys   True
AlwaysAddARHeader True