Re: qconfirm-check + qconfirm-check-mid + qconfirm-cdb-check possible?

Ronald Ip <[email protected]>
Newsgroups gmane.comp.misc.pape.general
Message-ID <[email protected]>
On Fri, 2005-06-24 at 08:07 +0000, Gerrit Pape wrote:
> On Wed, Jun 22, 2005 at 05:16:32PM +0800, Ronald Ip wrote:
> > Is this in .qmail workable?
> > ---cut---
> > |qconfirm-check -d/home/iphoting/.qconfirm qconfirm-check-mid -a 
> > '@iphoting.com' qconfirm-cdb-check
> > ./Maildir/
> > ---cut---
> 
> qconfirm-cdb-check is used as argument to qconfirm-check-mid here.  You
> can only specify exactly one program to be run by qconfirm-check;
> qconfirm-check-mid currently doesn't support running another program.
> 

I understand now. Thanks.

> A wrapper is required, something like this should work (all in one line):
>  |qconfirm-check -d/home/iphoting/.qconfirm sh -c 'qconfirm-check-mid -a
>  "@iphoting.com" || exec qconfirm-cdb-check'

Thanks for the hint. I'll test it out.

Ronald.
-- 
Ronald Ip                              [email protected]
gpg public key @ http://iphoting.iphoting.com/iphoting.asc
Fingerprint: {6A7E AB1E A822 E621 4DEC 11C4 F355 0635 71D7 1151}
----------------------------------------------------------------
-- Mae West
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCu/JE81UGNXHXEVERAk6GAJ4/UavPAgbag+S+M8i9btW6uglG6QCbBw/M
/HUnhFtwWHleRD+Neu0g8ss=
=eWYU
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.