From 724d877995dfcc10c462a18dcb4ea6c8b60c2d03 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 2 Jul 2023 19:04:30 -0400 Subject: initial commit --- roles/opendkim/templates/opendkim.conf.j2 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 roles/opendkim/templates/opendkim.conf.j2 (limited to 'roles/opendkim/templates') 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 @@ +# 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 -- cgit v1.2.3