> Derek Watson:

> qmail-start "|/var/qmail/myscripts/filter.pl ./Maildir/" splogger qmail
> 
>     Where filter.pl would read STDIN, filter out words, and print to STDOUT,
> in the hopes that qmail-local would pick up the rest and deliver to Maildir.
> But this doesn't seem to work out. .. I just get filter.pl printing the
> contents of the message to syslog.

.. because splogger loggs it's stdin and your program prints on stdout.
the first argument to qmail-start is handed to qmail-local, it's standard
setting is the maildir.  there was numerous mentioning of filtering
qmail-queues input, which would let you get at every message in or out.
why don't you try these?  the archive should tell you all about this.

clemens

Reply via email to