Could someone please explain how exactly postfix
logs to redis
? I have been looking through master.cf
and main.cf
config files, but I can’t see where the piping to redis occurs.
I have also set up logging to a graylog
instance using the instructions found on https://mailcow.github.io/mailcow-dockerized-docs/firststeps-logging/#logging-drivers, but the log entries that end up here are “just” service start-up logs, not any smtp
related ones such as server connections (incoming & outgoing), mail queue management, etc.
My goal would be to pipe all postfix/smtpd
logs to graylog
in order to be able to keep a longer history than the 2 days that are currently possible (with very moderate traffic) using the 10.000 lines.