Srdan Dukic wrote: > 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?
Syslog is the right tool because it can easily write your logs to a maillog _and_ to pipes: "man syslog.conf". If you use sysklogd on Linux then "mail.* |/var/log/fifo" will write your mail logs to a named fifo. If you use BSD's syslogd then the pipe will call a program and send messages to its stdin; e.g. "mail.* |/usr/local/bin/mailmonitor" If your installed syslogd does not support one of these options then you might consider to replace it with rsyslog or syslog-ng. -- Martin