How can I configure postfix for it will NOT log "Connect from" and "Disconnect from" events?
Asked
Active
Viewed 364 times
1 Answers
1
You can't. But if you use e.g. syslog-ng, you can filter logged messages there. See here: https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/configuring-filters.html

BeerSerc
- 499
- 3
- 6
-
2The messages "Connect from" and "Disconnect from" can't be suppressed because they are hardcoded [here](https://github.com/vdukhovni/postfix/blob/master/postfix/src/smtpd/smtpd.c#L5295) and [here](https://github.com/vdukhovni/postfix/blob/master/postfix/src/smtpd/smtpd.c#L5333). – Anderson Medeiros Gomes Mar 10 '16 at 12:29
-
Wow )) it really most exhaustive answer! Thank you ) – Olga Pshenichnikova Mar 11 '16 at 16:19