add dmarc reporting
This commit is contained in:
parent
d3ede9d2e2
commit
de5bf331f9
5 changed files with 105 additions and 9 deletions
9
files/dmarc-reporting.service
Normal file
9
files/dmarc-reporting.service
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Send rspamd DMARC reports
|
||||
Wants=dmarc-reports.timer
|
||||
|
||||
[Service]
|
||||
User=_rspamd
|
||||
Group=_rspamd
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/rspamadm dmarc_report
|
||||
10
files/dmarc-reporting.timer
Normal file
10
files/dmarc-reporting.timer
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Send rspamd DMARC reports daily
|
||||
|
||||
[Timer]
|
||||
# send reports daily, but not directly at midnight.
|
||||
OnCalendar=*-*-* 00:42
|
||||
AccuracySec=1h
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue