Carlos Velasco via Postfix-users:
>
> Wietse Venema via Postfix-users escribi? el 11/12/2023 a las 1:11:
> > Patch below.
> Tested patch against 3.8.3, now it works as expected. Thank you.
> No duplicated "Received-SPF" and removing "Received" in position 1 is now not
> the own generated, is really the first one Received seen in the milter.
IOW it works as expected.
> I still think that passing the own generated Received to the milter
> should be optionally parametrizable, with default configuration
> to no. Doing the same thing in 2 different programs doesn't make
> sense, and also, the milter lacks important information that postfix
> have, like authenticated connection, protocol, ciphers, ...
All that info is available in the smfi_connect() callback.
It may seem wasteful that some programs use that info to re-create
a fake Received: header, and then parse that fake header to extracxt
the same information again, but that is nothing compared to the
cost of having two ways to inspect a message using the Milter
protocol. Humans are much more expsive than computers.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]