diff options
| author | Sam Chudnick <sam@chudnick.com> | 2023-07-02 19:04:30 -0400 |
|---|---|---|
| committer | Sam Chudnick <sam@chudnick.com> | 2023-07-02 19:04:30 -0400 |
| commit | 724d877995dfcc10c462a18dcb4ea6c8b60c2d03 (patch) | |
| tree | 270537b8fca585717c1ffa7708e492593f7b2ed5 /roles/opendkim/templates | |
initial commit
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 | ||
