Markus Petri:
> Hi,
> 
> I wrote a small milter to archive incoming emails. While testing I
> noticed, that I never got the Received line inserted by the local
> Postfix itself. A tcpdump of the milter traffic doesn't show the

This is for Sendmail compatibility. When I implemented Postfix
Milter support, Sendmail did not give the "first" header to the
Milter application, and therefore Postfix couldn't either. The PREPEND
feature was introduced several releases before Milter support, so
I could not change the order of Received: and PREPEND headers without
breaking compatibility or making Postfix harder to use.

Regardless of the merits of Sendmail's choice, it is better that
Milter programs produce consistent results across MTAs.

The rules for header manipulation have similar limitations.  Again,
that wasn't a choice for me to make.

        Wietse

Reply via email to