Derek Watson <[EMAIL PROTECTED]> writes:
> . . . I want to try something like this, to achieve a global incoming
> mail filter without using any qmail-queue wrappers or modifications:
> 
> qmail-start "|/var/qmail/bin/myfilter |tomaildir $HOME/Maildir" splogger
> qmail

That should work, as long as myfilter and tomaildir behave properly.
But it won't take effect when a .qmail file is found for a particular
local address.  The defaultdelivery gets passed from qmail-start to
qmail-lspawn to qmail-local.  qmail-local looks for a .qmail file and,
if none is found, it slaps defaultdelivery into place and pretends
that it found a .qmail file containing defaultdelivery.  qmial-local
uses it exactly as it would use the contents of the .qmail file.  It
can contain multiple delivery instructions, one per line, if you like,
just as a .qmail file can.

> Do I need the quotes?

Yes, it has to be passed as a single argument.


paul

Reply via email to