mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 16:46:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
23
roles/pmg/templates/opendkim.conf.j2
Normal file
23
roles/pmg/templates/opendkim.conf.j2
Normal file
@@ -0,0 +1,23 @@
|
||||
Syslog yes
|
||||
LogResults yes
|
||||
LogWhy yes
|
||||
SyslogSuccess yes
|
||||
UMask 007
|
||||
{% if item == 'signer' %}
|
||||
KeyTable /etc/opendkim/keytable
|
||||
SigningTable /etc/opendkim/signingtable
|
||||
Mode s
|
||||
InternalHosts 0.0.0.0/0
|
||||
{% else %}
|
||||
Mode v
|
||||
AllowSHA1Only yes
|
||||
AlwaysAddARHeader yes
|
||||
{% endif %}
|
||||
Socket local:/var/run/opendkim/{{ item }}.sock
|
||||
PidFile /var/run/opendkim/{{ item }}.pid
|
||||
TrustAnchorFile /usr/share/dns/root.key
|
||||
UserID opendkim
|
||||
Background no
|
||||
{% if pmg_dkim_nameservers is defined and pmg_dkim_nameservers | length > 0 %}
|
||||
Nameservers {{ pmg_dkim_nameservers | join(',') }}
|
||||
{% endif %}
|
Reference in New Issue
Block a user