Bascule Z-Push, préparation Mail
This commit is contained in:
5
roles/opendkim/files/dkim/KeyTable
Normal file
5
roles/opendkim/files/dkim/KeyTable
Normal file
@@ -0,0 +1,5 @@
|
||||
dkim._domainkey.libertus.eu libertus.eu:dkim:/etc/dkim/keys/libertus.eu/mail.private
|
||||
dkim._domainkey.p.libertus.eu p.libertus.eu:dkim:/etc/dkim/keys/p.libertus.eu/mail.private
|
||||
dkim._domainkey.mateu.be mateu.be:dkim:/etc/dkim/keys/mateu.be/mail.private
|
||||
dkim._domainkey.pipoworld.fr pipoworld.fr:dkim:/etc/dkim/keys/pipoworld.fr/mail.private
|
||||
dkim._domainkey.nintendojo.fr nintendojo.fr:dkim:/etc/dkim/keys/nintendojo.fr/mail.private
|
2
roles/opendkim/files/dkim/PeerList
Normal file
2
roles/opendkim/files/dkim/PeerList
Normal file
@@ -0,0 +1,2 @@
|
||||
::1
|
||||
127.0.0.1
|
5
roles/opendkim/files/dkim/SigningTable
Normal file
5
roles/opendkim/files/dkim/SigningTable
Normal file
@@ -0,0 +1,5 @@
|
||||
libertus.eu dkim._domainkey.libertus.eu
|
||||
p.libertus.eu dkim._domainkey.p.libertus.eu
|
||||
mateu.be dkim._domainkey.mateu.be
|
||||
pipoworld.fr dkim._domainkey.pipoworld.fr
|
||||
nintendojo.fr dkim._domainkey.nintendojo.fr
|
1
roles/opendkim/files/dkim/TrustedHosts
Normal file
1
roles/opendkim/files/dkim/TrustedHosts
Normal file
@@ -0,0 +1 @@
|
||||
mail.dmz.mateu.be
|
10
roles/opendkim/files/opendkim.conf
Normal file
10
roles/opendkim/files/opendkim.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
Socket inet:8891@localhost
|
||||
LogWhy yes
|
||||
MilterDebug 1
|
||||
Syslog yes
|
||||
UMask 002
|
||||
OversignHeaders From
|
||||
|
||||
KeyTable /etc/dkim/KeyTable
|
||||
SigningTable /etc/dkim/SigningTable
|
||||
PidFile /var/run/opendkim/opendkim.pid
|
4
roles/opendkim/handlers/main.yml
Normal file
4
roles/opendkim/handlers/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: restart opendkim
|
||||
service:
|
||||
name: opendkim
|
||||
state: restarted
|
32
roles/opendkim/tasks/main.yml
Normal file
32
roles/opendkim/tasks/main.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
- name: install opendkim
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- opendkim
|
||||
- opendkim-tools
|
||||
|
||||
- name: main configuration files
|
||||
copy:
|
||||
src: ./files/opendkim.conf
|
||||
dest: /etc/opendkim.conf
|
||||
notify:
|
||||
- restart opendkim
|
||||
|
||||
- name: dkim directory
|
||||
file:
|
||||
path: /etc/dkim
|
||||
state: directory
|
||||
|
||||
- name: secondary configuration files
|
||||
copy:
|
||||
src: "./files/dkim/{{ item }}"
|
||||
dest: "/etc/dkim/{{ item }}"
|
||||
loop:
|
||||
- KeyTable
|
||||
- PeerList
|
||||
- SigningTable
|
||||
- TrustedHosts
|
||||
notify:
|
||||
- restart opendkim
|
||||
|
Reference in New Issue
Block a user