Mark Crispin wrote:
It turns out that a bit more needs to be done, including making sure that the mbox driver is enabled. The latest imap-2006d development snapshot tarball has the full code.
Excellent, that seems to work.

Now that you are in the mood for tuning mbox I have to ask if the mbox_create function should be what it is now:
long mbox_create (MAILSTREAM *stream,char *mailbox)
{
       return unix_create (NIL,"mbox");
}

It seems to me that it either should not exist or else it should be something like:
long mbox_create (MAILSTREAM *stream,char *mailbox)
{
 if (!compare_cstring (mailbox,"INBOX"))
       return unix_create (NIL,"mbox");
 else
       return unix_create (NIL,mailbox);
}

At least I've had to do this change in order to enable users with mbox to create new folders. Otherwise the imapd replies with:
CREATE failed: Can't create mailbox node /u/username/mbox: File exists

Now it is true that I change the source code in a few places in order to match the local environment better but nothing that should break the above.

Thanks,

Josko P.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to