Ajout de OpenDMARC
This commit is contained in:
4
roles/opendmarc/files/dmarc/IgnoreHosts
Normal file
4
roles/opendmarc/files/dmarc/IgnoreHosts
Normal file
@@ -0,0 +1,4 @@
|
||||
127.0.0.1
|
||||
10.233.212.0/26
|
||||
::1
|
||||
2001:bc8:26c1:105::/64
|
@@ -6,4 +6,6 @@ RejectFailures false
|
||||
Syslog true
|
||||
SyslogFacility mail
|
||||
UMask 0002
|
||||
IgnoreHosts /etc/dmarc/IgnoreHosts
|
||||
IgnoreAuthenticatedClients true
|
||||
UserID opendmarc
|
||||
|
@@ -9,3 +9,18 @@
|
||||
dest: /etc/opendmarc.conf
|
||||
notify:
|
||||
- restart opendmarc
|
||||
|
||||
- name: dmarc directory
|
||||
file:
|
||||
path: /etc/dmarc
|
||||
state: directory
|
||||
|
||||
- name: secondary configuration files
|
||||
copy:
|
||||
src: "./files/dmarc/{{ item }}"
|
||||
dest: "/etc/dmarc/{{ item }}"
|
||||
loop:
|
||||
- IgnoreHosts
|
||||
notify:
|
||||
- restart opendmarc
|
||||
|
||||
|
Reference in New Issue
Block a user