Leandro Santiago:
-- Start of PGP signed section.
> Hey list,
> 
> I created the following smtp_header_checks rule:
> 
> smtp_header_checks = pcre:/etc/postfix/maps/header_checks
> 
> and /etc/postfix/maps/header_checks:
> 
> /^In-Reply-To:/  INFO
> /^References:/   INFO
> 
> 
> As I aim to have such header logged on syslog.

As a matter of principle, all Postfix logging is size-limited, to
prevent an attacker from flooding the file system even if Postfix
never accepts their email. 

If there were no limits, then your logfile would basically be
world-writable from the network. That would not be desirable from
a reliability point of view.

In reality, different logging systems enforce their own size limits.
Postfix attempts to stay well under those limits so that it stays
in control over what is logged.

> header_size_limit [is] configured to 102400.

Indeed, and that is an amount that should never be logged
without some sanity check inplace.

        Wietse

Reply via email to