Mehmet Avcioglu:
> On Tue, Dec 20, 2022 at 9:57 PM Wietse Venema <wie...@porcupine.org> wrote:
> 
> > However, Postfix does make information from multiple layers available
> > for policy decisions:
> 
> Thank you. Yes I am using milter extensively, however I am trying to
> influence and log transport and sender dependent transport decisions based
> on other factors, but I understand why it is not possible.
> 
> I was also hoping to get smtp_bind_address value logged, but figured I'll
> do that by changing syslog_name to include that. Do you have any other
> suggestions for getting smtp_bind_address logged? Also I know syslog_name
> has a max length, but couldn't find the documentation on it.

syslog_name is good for any 'constant' information.

Postfix limits the length of a syslog record, and the limit is not
documented. Originally this was done to avoid a buffer overflow in
some historical syslog client implementations, but truncation also
slow down a logfile flooding attack.

With non-syslog logging, the Postfix msg_logger library module
will truncate logging just like the syslog client does.

        Wietse

Reply via email to