Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reject incoming DMARC reports without a DMARC pass #296

Open
mjl- opened this issue Feb 19, 2025 · 0 comments
Open

Reject incoming DMARC reports without a DMARC pass #296

mjl- opened this issue Feb 19, 2025 · 0 comments

Comments

@mjl-
Copy link
Owner

mjl- commented Feb 19, 2025

DMARC reports sent by email MUST have an aligned DMARC pass (RFC 7489, 7.2.1.1). Some mail server operations send reports from hosts that don't have a DMARC pass (or even any SPF pass or any DKIM signatures). We are currently accepting those messages, but don't process the report because they are untrusted. We mark them as unread so the postmaster can look at them.

We should be rejecting these messages during the SMTP transaction with a helpful error message. This may cause a DSN to be delivered to the sending operator, hopefully causing them to fix their setup. The mox postmaster won't have to look at these messages anymore, won't have to contact the sender. The mox postmaster could still find these messages in the Rejects mailbox for a limited period, for investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant