+ Harald Hanche-Olsen <[EMAIL PROTECTED]>:

| + Peeter Pirn <[EMAIL PROTECTED]>:
| 
| | I know I have a user fishbone in my users/cdb. How do I query users/cdb
| | from the command line?
| 
| I usually just ask qmail-getpw.

How dumb.  qmail-getpw never looks in users/cdb; it is qmail-lspawn
which does, and then it runs qmail-getpw if the lookup failed.

Now, back in the qmail 1.01 days, I actually modified qmail-lspawn to
take a local part on the command line, do the lookup, report what it
found, and then run qmail-local just like qmail-lspawn does but with
the -n flag added.  You'll probably find it in the archives:

  mailto:[EMAIL PROTECTED]

- Harald

Reply via email to