Hi there,

I have a question to someone who is familar with the qmail-start
internals. I changed my  rc file of qmail in a way, that
qmail-start is piping all its information to my own accounting parser.

qmail-start | /var/qmail/bin/acctlog >>/var/log/acct.1  2>>/var/log/acct.2

The odd thing is, that nothing is written to STDOUT, STDERR is filled
properly. If I change my statetment from

printf(   to fprintf( stderr  everything works fine, except error messages
and accounting data get mixed ;)

Any hints on this, I guess I should open up a new file or write to the
database instead of trusting on STDOUT.

--Michael 


Reply via email to