Viktor Dukhovni:
> 
> 
> > On Jun 14, 2018, at 8:33 AM, Omicron <omicr...@gmx.ch> 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.

With Postfix 3.2 I started a transition towards 'canonical external'
forms in lookup tables, but for now, the 'internal' form is still
looked up for backwards compatibility.

It should be possible to add external-form attributes (new names
to avoid breaking compatibility) to the policy protocol, which
requires a bit of extra code.

        Wietse

Reply via email to