Date: Mon, 20 Nov 2000 17:33:20 +1100
   From: Stephen Fischer <[EMAIL PROTECTED]>

   I'm interested in having the deliver program automatically create
   mailboxes when it receives a mail item addressed to an address of
   the correct format but which does not already exist.  I found some
   mail in the archive from people asking a similar question but no
   answers.  Is this capability there?  If not, has anyone implemented
   something similar?

There's no built-in capability.

If you're using LMTP (recommended) look at the process_recipient()
function in deliver.c.  Add a check for IMAP_MAILBOX_NONEXISTENT after
mboxlist_lookup() and call mboxlist_createmailbox() if so.
(You'll probably also want to call mboxlist_setquota().)

Larry

Reply via email to