Hi,
   Apologies if this has been answered before - I poked around a bit and
didn't find any information that described what I'm trying to find.
   In the hopes that someone else has done the work I'm considering doing,
I'm curious if there's a way to request that qmail verbosely describe how
it would handle a given address (or if there's some supporting program out
there that would do it).  What I envision is something like so... 

   $ qmail-what-happens [EMAIL PROTECTED]
   host.com is not in control/rcpthosts
   host.com is in control/morercpthosts.cdb
   *** mail would be accepted from a remote host
   host.com is in control/locals
   *** mail would be delivered locally
   control/virtualdomains contains host.com:userid
   *** address would be converted from [EMAIL PROTECTED] to [EMAIL PROTECTED]
   userid-test1 is not in users/cdb
   ~userid/.qmail-test1 does not exist
   ~userid/.qmail-default does exist
   *** mail would be handled by ~userid/.qmail-default
   maildir /home/userid/Mailbox/
   forward [EMAIL PROTECTED]
   did 1+1+0
   $ qmail-what-happens [EMAIL PROTECTED]
   elsewhere.com is not in control/rcpthosts
   elsewhere.com is not in control/morercpthosts.cdb
   *** mail would not be accepted from a remote host
   elsewhere.com is not in control/locals
   *** mail would be delivered remotely
   $

Obviously, the last part (assuming that the program found a controlling
.qmail file) would be just a call to qmail-local -n. 

Thanks in advance,
Ed



Reply via email to