> The problem is that there are two different ways to glue qmail into
> majordomo. The simpler but less flexible is to use a
> .qmail-default file, which tells qmail to hand all mail to any otherwise
> address to MJ, at which point MJ figures out what the address means and
> handle the mail. This works fine if the domain isn't used for much else.
> doesn't work at all if, for example, the other addresses in the domain are
> looked up in a database, because the database lookup also needs to use a
> -default to catch its addresses.
I appologise for the last aborted message.
Let's try again! :-)
All .qmail files (including .qmail-default) respect error codes:
0 means that the delivery was successful;
99 means that the delivery was successful, but that qmail-local should
ignore all further delivery instructions;
100 means that the delivery failed permanently (hard error);
111 means that the delivery failed but should be tried again in a little
while (soft error).
So; if mj2 exits with a "0" when it can't find the address
and "99" when it recognises the address
Then other applications that use the database can be after the majordomo
line in ".qmail-default".