Claus Assmann:
> On Sun, Oct 12, 2014, Wietse Venema wrote:
> 
> > As for the claim that Milters are supposed to see the on-the-wire
> > message, do you have a pointer to support that?
> 
> sendmail:
> libmilter/docs/smfi_insheader.html
> 
>   * A filter will receive only headers that have been sent by
>     the SMTP client and those header modifications by earlier
>     filters. It will not receive the headers that are inserted
>     by sendmail itself.

Thanks, Claus.  That clarifies things.

Based on this I conclude that Postfix's own Received: header must
not be exposed via the Milter API. Making Postfix's Received: header
visible after some Postfix access/policy header PREPEND request
would be a bug.

In the case of Postfix access/policy header PREPEND requests, I
will treat the resulting headers as if they were added by a filter,
and expose all of them (not all minus one) via the Milter API.

I'll back-port this to the existing stable releases.

        Wietse

Reply via email to