Folks:
I'm trying to write a program that will handle incoming mail using the
qmail-command mechanism. Actually, I've got this program written, and it
works great, but I've got one difficulty.
I'd like to use syslog(3) to log the work done by my qmail-command program.
This is easy enough to do, but there's one problem: I can't correlate the
messages that I'm adding with those that are added by qmail, in order to tie
the log entries to specific mail messages.
Ideally, I'd like to have some way to tell my qmail-command program the ID
number of the message that I'm currently processing, but I can't see anyway to
do that. In particular, it doesn't seem to be one the env. variables provided
to the qmail-command program.
So, does anyone know how I might get a hold of this id number? Failing that,
any alternative work-around solutions?
BTW: Thanks Dan, for some great work.
-Harry Hochheiser
--
Harry Hochheiser harry@tigger.jvnc.net
PGP key fingerprint:
08 3A B5 F6 47 7F C7 C4 28 B4 8D D2 2E DF F6 1E
I'm trying to write a program that will handle incoming mail using the
qmail-command mechanism. Actually, I've got this program written, and it
works great, but I've got one difficulty.
I'd like to use syslog(3) to log the work done by my qmail-command program.
This is easy enough to do, but there's one problem: I can't correlate the
messages that I'm adding with those that are added by qmail, in order to tie
the log entries to specific mail messages.
Ideally, I'd like to have some way to tell my qmail-command program the ID
number of the message that I'm currently processing, but I can't see anyway to
do that. In particular, it doesn't seem to be one the env. variables provided
to the qmail-command program.
So, does anyone know how I might get a hold of this id number? Failing that,
any alternative work-around solutions?
BTW: Thanks Dan, for some great work.
-Harry Hochheiser
--
Harry Hochheiser harry@tigger.jvnc.net
PGP key fingerprint:
08 3A B5 F6 47 7F C7 C4 28 B4 8D D2 2E DF F6 1E