On 19.11.15 14:29, Elod G wrote:
So I understand the milter protocol requires the own local received
header to not be present, and Postfix hides it from milters
Am 19.11.2015 um 14:01 schrieb Matus UHLAR - fantomas:
the milter protocol requires mail to be passed as received - without
locally added data (including local Received: header).
On 19.11.15 14:26, Reindl Harald wrote:
no - the point is only the Received header
Bugfix for Postfix 2.11, 2.10, 2.9 and 2.8:
note that milter is not postfix-only thing. It came from sendmail. The issue
is not just about postfix, and I am talking about milter protocol itself,
not about postfix bugs and their fixes.
The HISTORY file clearly says:
Bugfix (introduced: Postfix 2.3): when a Milter inserted a
header ABOVE Postfix's own Received: header, Postfix would
expose its own Received: header to Milters (violating
protocol) and hide the Milter-inserted header from Milters
(wtf). Files: cleanup/cleanup.h, cleanup/cleanup_message.c,
cleanup/cleanup_state.c, milter/milter.[hc], milter/milter8.c.
Cleanup: revert the workaround that places headers inserted
with PREPEND actions or policy requests BELOW Postfix's own
Received: message header. File: smtpd/smtpd.c.
I think we can safely close this discussion. While I get the reasons,
putting Received-SPF: header before own Received: header violates the milter
protocol, and that is why postfix does not do that.
We can't do anything about that, and spamass-milter would need to detect if
the first Received-SPF: header was added by local milter or forget by the
sender before we could use it...
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901