Displaying 1 result from an estimated 1 matches for "no_mailbox_autocr".
2008 Sep 01
2
Autocreating INBOX only
...nevertheless
automatically create INBOX for new users. I'm not sure whether a new
option like -M or -m -m would be appropriate, i.e., whether anyone
needs the current -m behaviour.
It looks to me like one would need to change
mailbox_open_or_create_synced()
if (box != NULL || no_mailbox_autocreate)
return box;
to something like (assuming an enum mailbox_autocreate
{_never,_inbox,_always}
if (box != NULL)
return box;
if (mailbox_autocreate == mailbox_autocreate_never || strcasecmp
(mailbox, "INBOX") != 0)
return NULL;