Srdan Dukic wrote:
> Is there any way to specify to Postfix to use an alternate file/daemon
> for logging? I am trying to create a custom application that will
> support email analysis in real time. In order to do this, I was hoping
> to feed in the Postfix logs directly, instead of just using a system
> such a 'tail -f' which I find to not be as robust as I would like.
> 
> Ideally I would like Postfix to output its logs to a named unix fifo
> pipe that would be read by my daemon process. In the configuration
> documentation I can't find any way of specifying an alternative to
> syslog. Is there any way to do this?

You should keep syslog, there are many reasons why it is better than
"just a file". But replace your syslogd with syslog-ng or rsyslog, and
then write logs for your parser to a pipe.

Best regards,
Thomas Gelf

Reply via email to