Hello Wietse!

> Hi Claus. Yes, Postfix does not send its own Received: header to
> the Milter (or whatever the first line is after Milters have modified
> the message).

So the second part is the problem here; thanks for the clarification.
For MeTA1 I added a flag to the pmilter API so a milter can decide
whether it wants the internally generated Received: header -- I
learned a lot from the problems with the milter API :-)

> I wonder if anything would break (other than Postfix backwards
> compatibility) if I were to provide an option to make "Milter "header
> insert" requests relative to the header that follows Postfix's own
> Received: header.

That seems like a good approach to match what sendmail does.
However, I don't know the internals of postfix, so I have no idea
how complicated it is.

Reply via email to