> This series addresses a Milter trust gap for locally generated delivery
> status notifications. A null envelope sender and an RFC 3464 body are not
> sufficient evidence that a message was generated by the local Postfix bounce
> service, while message headers or public cleanup attributes are under the
> control of untrusted submitters.
>
> The proposed boundary is a private cleanup service, not a new Milter protocol
> version:
>
> 1. Add an event-aware macro lookup callback while preserving the existing API.
> 2. Add private/dsn_cleanup for a validated, transient origin-evidence handoff.
> 3. Capture the original queue envelope in bounce(8) and expose three opt-in
> macros only at end-of-header.
>
> The values are:
>
> {postfix_dsn_evidence}=postfix-dsn-evidence-v1
> {postfix_dsn_original_queue_id}=<original queue ID>
> {postfix_dsn_original_envelope}=<unpadded base64url record>
>
> The envelope record is versioned and bounded. It contains the exact retained
> envelope sender and recipient records. Per-recipient Action and Status remain
> authoritative in the message/delivery-status part and are not duplicated in
> macro values.
>
> There is no Milter wire-protocol change. Filters that do not request the new
> macro names are unaffected. When complete original evidence cannot be
> constructed, bounce(8) keeps the existing best-effort path but does not assert
> trusted provenance.
>
> This series is based on the public maintainer-side Git master at ad3edc3eb
> (postfix-3.12-20260805). The complete build passes, as do the targeted Milter
> test and all six trusted/untrusted cleanup provenance tests.
>
> I would especially appreciate review of the private service boundary, the
> placement of the transient attributes, and whether the event-aware callback is
> the preferred minimal internal API.
Christian Rößner
--
Rößner-Network-Solutions
Zertifizierter ITSiBe / CISO
Marburger Str. 70a, 36304 Alsfeld
Mobil: +49 171 9905345
USt-IdNr.: DE225643613, https://roessner.website
PGP fingerprint: 658D 1342 B762 F484 2DDF 1E88 38A5 4346 D727 94E5
_______________________________________________
Postfix-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]