Skip to content

Commit

Permalink
Update OpenDMARC to ensure that mail is quarantined or rejected
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Aug 4, 2024
1 parent 09982a6 commit 210974d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/opendmarc/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Reload OpenDMARC
- name: Restart OpenDMARC
service:
name: opendmarc
state: reloaded
state: restarted
2 changes: 1 addition & 1 deletion ansible/roles/opendmarc/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
tags:
- role::opendmarc
notify:
- Reload OpenDMARC
- Restart OpenDMARC
6 changes: 3 additions & 3 deletions ansible/roles/opendmarc/templates/opendmarc.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ IgnoreAuthenticatedClients true
# IgnoreHosts /etc/opendmarc/ignore.hosts

RejectFailures true
HoldQuarantinedMessages true

ReportCommand /usr/sbin/sendmail -t
RequiredHeaders true
Socket inet:8893@localhost
SoftwareHeader true
SPFIgnoreResults false
TrustedAuthservIDs HOSTNAME
TrustedAuthservIDs {{ opendmarc_authserv_id }}
PidFile /run/opendmarc/opendmarc.pid

PublicSuffixList /usr/share/publicsuffix/public_suffix_list.dat

TrustedAuthservIDs HOSTNAME

UMask 0002
UserID opendmarc
2 changes: 1 addition & 1 deletion ansible/roles/opendmarc/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
opendmarc_failures: "[email protected]"
opendmarc_failure_reports: "[email protected]"
opendmarc_failure_reports_from: "[email protected]"
opendmarc_authserv_id: "PyDisDMARC"
opendmarc_authserv_id: "mail.pydis.wtf"

0 comments on commit 210974d

Please sign in to comment.