(imap4d_select0): Create INBOX if it does not exist.
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -55,6 +55,8 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags) | ... | @@ -55,6 +55,8 @@ imap4d_select0 (struct imap4d_command *command, char *arg, int flags) |
55 | imap4d_sync (); | 55 | imap4d_sync (); |
56 | } | 56 | } |
57 | 57 | ||
58 | if (strcmp (mailbox_name, "INBOX") == 0) | ||
59 | flags |= MU_STREAM_CREAT; | ||
58 | mailbox_name = namespace_getfullpath (mailbox_name, "/"); | 60 | mailbox_name = namespace_getfullpath (mailbox_name, "/"); |
59 | 61 | ||
60 | if (!mailbox_name) | 62 | if (!mailbox_name) | ... | ... |
-
Please register or sign in to post a comment