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

Fix dmarc reject #260

Merged
merged 4 commits into from
May 3, 2016
Merged

Fix dmarc reject #260

merged 4 commits into from
May 3, 2016

Conversation

dani
Copy link
Contributor

@dani dani commented May 3, 2016

Add the dmarc_reject note in the transaction instead of the connection. Even if uncommon, it's probably possible to have one invalid and one valid email in a single connection

Daniel Berteaud added 4 commits May 2, 2016 15:31
We cannot reject at this stage, which is only there to alter headers.
Fix #258
Followup of #258: we cannot reject a connection during data_post_headers. So add a new hook in data_post to do the real rejection
It's probably possible to have one valid email after an invalid one using the same connection (even if not common)
@coveralls
Copy link

coveralls commented May 3, 2016

Coverage Status

Coverage remained the same at 49.215% when pulling 4468c32 on dani:fix_dmarc_reject into 9f3f9db on smtpd:master.

@msimerson msimerson merged commit 7ff4537 into smtpd:master May 3, 2016
@dani dani deleted the fix_dmarc_reject branch May 4, 2016 20:35
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

Successfully merging this pull request may close these issues.

4 participants