feat: add NoReportsList to suppress report delivery to known-bad destinations#394
Merged
thegushi merged 1 commit intoMay 30, 2026
Merged
Conversation
…inations Adds a NoReportsList config option pointing to a file of email addresses and/or domains to which reports should never be sent. Suppresses both failure report delivery in the milter (ruf=) and aggregate report delivery in opendmarc-reports (rua=). Entries may be full addresses or bare domains; matching is case-insensitive. Intended for destinations known to be dead, rate-limiting, or otherwise unable to accept reports (e.g. a Gmail inbox published as a rua= address). Closes trusteddomainproject#319
b5999c9 to
a69c210
Compare
That's unclear. Domain is xyz.com, ruf=hallo@abc.com When using the bare domain, is xyz.com correct? The text sounds like abc.com would be the correct choice, but that's something different as it blocks all domains using the same mail domain. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #319.
What it does
Adds a
NoReportsListconfig option pointing to a file of email addresses and/or domains to which reports should never be delivered, regardless of what the DMARC policy record requests.Use case: some
rua=andruf=destinations are persistently dead, rate-limited, or otherwise unable to accept DMARC reports (e.g. a Gmail inbox published as a reporting address for a high-volume sender). There is currently no way to suppress delivery to these destinations short of modifying the database or source code.File format
One entry per line. Lines beginning with
#are comments. An entry may be:reports@gmail.comgmail.com(suppresses all addresses at that domain)Matching is case-insensitive.
Where it applies
opendmarc): failure report (ruf=) delivery is suppressed before the report is constructedopendmarc-reports: aggregate report (rua=) delivery is suppressed before SMTP delivery, alongside the existingstale_skipanddb_skipchecksThe same file path is used for both, configured via a single
NoReportsListdirective inopendmarc.conf(or--no-reports-liston theopendmarc-reportscommand line).Relationship to IgnoreMailTo (PR #393)
IgnoreMailToprevents inbound messages to a reporting address from being recorded in the history file — it breaks loops at the source.NoReportsListprevents outbound report delivery to known-bad destinations. Different problem, different fix.