Add include to /etc/opendkim-evolix.conf on default configuration file, cf. #68552
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2787|8|2779|9|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/258//ansiblelint">Evolix » ansible-roles » unstable #258</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2787|8|2779|9|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/258//ansiblelint">Evolix » ansible-roles » unstable #258</a>
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
9ff615f19a
commit
3e00632a41
17
opendkim/files/opendkim-evolix.conf
Normal file
17
opendkim/files/opendkim-evolix.conf
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
UserID opendkim:opendkim
|
||||||
|
Socket inet:8891@127.0.0.1
|
||||||
|
PidFile /var/run/opendkim/opendkim.pid
|
||||||
|
OversignHeaders From
|
||||||
|
TrustAnchorFile /usr/share/dns/root.key
|
||||||
|
Selector default
|
||||||
|
Canonicalization relaxed/relaxed
|
||||||
|
InternalHosts refile:/etc/opendkim/TrustedHosts
|
||||||
|
KeyTable refile:/etc/opendkim/KeyTable
|
||||||
|
LogResults Yes
|
||||||
|
LogWhy Yes
|
||||||
|
Mode sv
|
||||||
|
SigningTable refile:/etc/opendkim/SigningTable
|
||||||
|
Syslog Yes
|
||||||
|
SyslogSuccess Yes
|
||||||
|
TemporaryDirectory /var/tmp
|
||||||
|
UMask 007
|
|
@ -45,10 +45,20 @@
|
||||||
tags:
|
tags:
|
||||||
- opendkim
|
- opendkim
|
||||||
|
|
||||||
|
- name: Add Include in opendkim.conf
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
dest: /etc/opendkim.conf
|
||||||
|
line: 'Include /etc/opendkim-evolix.conf'
|
||||||
|
state: present
|
||||||
|
create: no
|
||||||
|
mode: "0644"
|
||||||
|
tags:
|
||||||
|
- opendkim
|
||||||
|
|
||||||
- name: copy OpenDKIM config
|
- name: copy OpenDKIM config
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: opendkim.conf
|
src: opendkim-evolix.conf
|
||||||
dest: /etc/opendkim.conf
|
dest: /etc/opendkim-evolix.conf
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
force: yes
|
force: yes
|
||||||
notify: restart opendkim
|
notify: restart opendkim
|
||||||
|
|
Loading…
Reference in a new issue