In an effort to impliment a "New E-mail counter", I've hacked
qmail-local to write the user id out to a named pipe. Another program
then reads the named pipe and increments a column in an oracle database
for new email count. It all worked quite well in the test environment,
but it seems that when the incoming load goes up, I miss some local
deliveries (the new email count on a production system is always too
low).

I choose to impliment it in this fashon as there is a cost to building a
connection to the oracle database (a second or more) that I felt would
impact qmail-local too much. I suspect that the choice of named pipe was
a poor one, but don't have a clue.

Anyone have a suggestion? Love to hear from you... tnx Mark

Reply via email to