Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
564 B

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 %}