Wietse Venema:
If you can use the fifo solution, then it would be easier to run Postfix
in the background with maillog_file=/path/to/fifo.
- Ensure that the analyzer is running, reading from /path/to/fifo;
this should be configured as a start-up dependency for Postfix.
This may alse be a good place to create the FIFO if one does not exist.
test -p /path/to/fifo || {
rm -f /path/to/fifo # in case it is a regular file
mkfifo /path/to/fifo || exitt 1
... chown and chmod as appropriate... || exit 1
}
- Configure the fifo as the maillog file:
/etc/postfix/main.cf:
maillog_file = /path/to/fifo
- Start Postfix in the background (postfix start).
I follow up with 2-day intervals, it is becasue I am rather busy.
Wietse