On Wed, 6 Dec 2000, Kris Kelley wrote:
> How can I feed qmail-start, qmail-lspawn, and qmail-local more than one
> default delivery instruction. My hope is to use a program, "blackbox" for
> example, that will extract information from each incoming message before it
> is saved. A similar .qmail file would look like this:
>
> |blackbox
> ./Maildir/
>
> After looking at the sample start-up scripts in /var/qmail/boot, I'm
> thinking my start-up line would look similar to this, assuming blackbox
> takes no arguments:
>
> qmail-start '|blackbox ./Maildir/'
>
> Is this correct? If not, how can I string together multiple default
> delivery instructions?
Close but not quite. Think of the arguments passed to qmail-start
(which hands them off to qmail-local) as the system default .qmail
file. Each delivery intruction must appear on a line of its own.
Therefore, you should run qmail-start as
... qmail-start '|blackbox
./Maildir' ...
Note the _real_ newline between each of the delivery instructions. You
can fill in the ... areas with whatever stuff is relevant for your site.
Also have a look at /var/qmail/boot/*+* for other examples.
--
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"