Peter van der Landen writes:
> Trying to keep in with the Qmail way of doing things, It might have the
> following syntax:
>
> qmail-unqueue queue-id program [ arg ... ]
>
> The queue-id could be extracted from the qmail-qread output. The program
> would receive the message on stdin & the envelope information in the usual
> environment variables. The qmail-unqueue program would remove the message
> from the queue if the program exits 0.
The problem is that you can potentially have megabytes worth of
envelope information. So do you pipe that to the program on a
non-standard fd? But then you can't use standard tools. Or do you
extract the recipients one at a time, and run the program once for
each recipient? Or do you have a different qmail-unqueue which runs
the recipients through a program, one per line?
I agree, though, that such a program is needed. Hopefully it's on
Dan's TODO list for qmail 2.0.
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!