Tony Finch wrote: >
> (1) The S= field in the logs indicates the message size after Exim has
> altered the headers, in particular the addition of a Received: line but
> also submission mode changes, addition from ACL warn verbs, and other
> rewrites. This can be a little confusing.
Yeah, the S= value currently being logged isn't very useful -- it's
neither the size of the message received on the wire, nor is it
necessarily the size of the message being delivered (it doesn't include
router/transport modifications).
I'd recommend that S= on <= lines be the size actually received on the
wire (ie: $message_size at DATA ACL time), and possibly add S= on => for
the size of the message delivered (including any modifications made by
the router and transport, ie: the value of $message_size while expanding
maildir_tag).