> On Jun 14, 2018, at 8:33 AM, Omicron <[email protected]> wrote:
>
> I'm implementing a policy daemon and I realized
> the sender attribute value of the Postfix
> policy delegation protocol does not preserve the
> quotes of the original envelope address.
> If Postfix accepts a mail address I think it
> should pass this address to the policy daemon without
> modifying it.
Quoting of addresses is only needed in contexts where more
than one address might be present, or there is additional
context around the address. For example:
Header: From: <addr2>, <addr2>, ...
Envelope: MAIL FROM:<addr> NOTIFY=success
In the policy service the address has already been parsed out of
the context in which quoting is required and is presented in a
canonical de-quoted form. This is the same form used in access(5)
lookups.
--
Viktor.