Commit 778a6714 778a6714dec9a7a570471d7fb3ce4cc1004bb19d by Sergey Poznyakoff

(imap4d_select0): Create INBOX if it does not exist.

1 parent 661108c7
......@@ -55,6 +55,8 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags)
imap4d_sync ();
}
if (strcmp (mailbox_name, "INBOX") == 0)
flags |= MU_STREAM_CREAT;
mailbox_name = namespace_getfullpath (mailbox_name, "/");
if (!mailbox_name)
......