Florian G. Pflug <[EMAIL PROTECTED]> wrote:
>anyway - anybody who can explain why there are two fields???
It has to do with the way qmail-local works. qmail-lspawn reads the
users/cdb and passes the "dash" and "ext" to qmail-local as separate
arguments. According to the qmail-local man page:
dash and ext identify the .qmaildashext file used by
qmail-local; see dot-qmail(5). Normally dash is either
empty or a lone hyphen. If it is empty, qmail-local
treats a nonexistent .qmailext the same way as an empty
.qmailext: namely, following the delivery instructions in
defaultdelivery.
So it matters to qmail-local if "dash" is empty or not.
For example, take the case of a message to a user's "foo" extension
address. Normally, "dash" will be "-" and "ext" with be
"foo". qmail-local will look for ".qmail-foo" or ".qmail-default". If
neither exists, the message will bounce.
However, if "dash" was "", qmail-local would look for ".qmailfoo". If
it didn't find it, it'd deliver according to "defaultdelivery".
-Dave