Christian R??ner via Postfix-devel:
>
> > This series follows Wietse's suggestion to let bounce(8) provide the
> > normal cleanup(8) service with evidence that a message was generated by
> > the local MTA.
> >
> > There is no separate cleanup service, master.cf entry, Milter protocol
> > version, or main.cf parameter. bounce(8) adds a private record to the
> > ordinary cleanup record stream. cleanup(8) accepts the record only on
> > the internal code path used by bounce(8), verifies that the new message
> > has a null sender, and exposes the evidence through two opt-in Milter
> > macros:
> >
> > {postfix_dsn_evidence}=postfix-dsn-evidence-v1
> > {postfix_dsn_original_envelope}=<unpadded base64url>
> >
> > The second macro encodes a bounded, versioned binary record containing
> > the original envelope sender and recipients. The macros are transient:
> > they are neither read from untrusted cleanup clients nor stored in queue
> > files. A Milter receives them only when it requests the macro names in
> > the normal negotiation and is configured as a non_smtpd_milter.
The (sender and recipient) original envelope in a Milter macro
value? I am concerned about scalability.
One Postfix queue file can have a very large number of recipients
(ultimately, the bounded by a queue file size limit). For good
reasons, there is no code anywhere in Postfix that reads an entire
message envelope into memory. Every delivery happens with one to
50 recipients.
If we want to inform a Milter that a bounce is an original submission,
I would expect that will require only a boolean flag. Such a boolean
flag would be asserted only by the bounce daemon, never by other
Postfix programs.
The cleanup daemon can pass the boolean flag value with a Milter
macro. All the Milter needs to know is whether a bounce message
was generated by the MTA itself, or received from elsewhere.
Postfix programs that handle email messages can lie. You don't
prevent that by passing around a copy of envelope information.
Wietse
_______________________________________________
Postfix-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]