On Mon, 18 Dec 2000, Charles Cazabon wrote:

> Kris Kelley <[EMAIL PROTECTED]> wrote:
> > >
> > > To save some work, you could use Bruce Guenter's QMAILQUEUE patch, and
> > > insert your filter inbetween qmail-inject and qmail-queue instead...
> > 
> > Actually, there are no local users on these boxes, per se, so the filter
> > would have to be between qmail-smtpd and qmail-queue.  Otherwise, this makes
> > sense.  I'll keep it in mind.
> 
> If I'm not mistaken, qmail-smtpd calls qmail-inject, which calls qmail-queue.

This time you are mistaken :) qmail-smtpd calls qmail-queue. See the
INTERNALS file that is shipped with the source.

> I belive Bruce's patch changes _all_ qmail programs which call qmail-queue
> to look at the contents of QMAILQUEUE (or similar) environment variable, and
> if set, to call that instead of qmail-queue directly.  Therefore it would
> work in this case.  Just have tcpserver set QMAILQUEUE to 
> "/path/to/my/filter", and filter calls qmail-queue.

Correct.

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"

Reply via email to