[smtpd/qpsmtpd] 7ff453: Fix dmarc reject (#260)

[email protected] (GitHub) Tue, 03 May 2016 10:41:54 -0700
Newsgroups perl.qpsmtpd.dev
Message-ID <5728e2e257b99_34563f87054332a051573@hookshot-fe5-cp1-prd.iad.github.net.mail>
----==_mimepart_5728e2e257799_34563f87054332a05141f
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/smtpd/qpsmtpd
  Commit: 7ff45375f1ca1208dd9173973a123178ddbdea59
      https://github.com/smtpd/qpsmtpd/commit/7ff45375f1ca1208dd9173973a123178ddbdea59
  Author: Daniel B <[email protected]>
  Date:   2016-05-03 (Tue, 03 May 2016)

  Changed paths:
    M plugins/dmarc

  Log Message:
  -----------
  Fix dmarc reject (#260)

* Update data_post_headers documentation
We cannot reject at this stage, which is only there to alter headers.
Fix #258

* DMARC plugin: reject in data_post
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

* Add the dmarc_reject note on the transaction
It's probably possible to have one valid email after an invalid one using the same connection (even if not common)



----==_mimepart_5728e2e257799_34563f87054332a05141f--