// automatically create the above listed default folders on login $rcmail_config['create_default_folders'] = true;
this makes me believe that if the folders do not exist upon login, they will be created.
but actually, they are only created if the user does not exist:
program/include/rcmail.php:627
// user already registered -> update user's record if (is_object($user)) { // create default folders on first login if (!$user->data['last_login'] && $config['create_default_folders']) $this->imap->create_default_folders(); $user->touch(); } // create new system user else if ($config['auto_create_user']) { if ($created = rcube_user::create($username, $host)) { $user = $created; // create default folders on first login if ($config['create_default_folders']) $this->imap->create_default_folders();
...
this has been changed in r3232
so how do i get these default folders now, if i already have a rc profile?
maybe we should create an option to auto-create the default folders via "settings/special folders"?
thanks, raoul