Author Topic: RoundCube not creating default folders  (Read 6542 times)

Offline blackwing

  • Newbie
  • *
  • Posts: 2
RoundCube not creating default folders
« on: October 19, 2015, 09:06:53 PM »
Hi! I just recently installed RoundCube 1.1.3 version and found out that it doesn't create the default folders(Trash, Sent, Drafts . . . )
I see that in this file  (program/lib/Roundcube/rcube.php) this line exist

Code: [Select]
        // create default folders (on login)
        if ($this->config->get('create_default_folders')) {
            $storage->create_default_folders();
        }


I've also check my config.inc.php

and didn't see any option that say's
Code: [Select]
$config['create_default_folders'] = TRUE;   
Code: [Select]
$config['protect_default_folders'] = TRUE
can anyone please help me please.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: RoundCube not creating default folders
« Reply #1 on: October 20, 2015, 02:45:59 AM »
default folders are only created on a user's initial login. if you changed the config value of create_default_folders from false (default) to true after you logged in to roundcube for the first time then you need to go into the roundcube database and delete the user. then login again.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline wikrie

  • Jr. Member
  • **
  • Posts: 12
Re: RoundCube not creating default folders
« Reply #2 on: November 06, 2015, 11:54:59 AM »
please check config again and check that the folders are activated

// store draft message is this mailbox
// leave blank if draft messages should not be stored
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$config['drafts_mbox'] = 'Drafts';

// store spam messages in this mailbox
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$config['junk_mbox'] = 'Junk';

// store sent message is this mailbox
// leave blank if sent messages should not be stored
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$config['sent_mbox'] = 'Sent';

// move messages to this folder when deleting them
// leave blank if they should be deleted directly
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$config['trash_mbox'] = 'Trash';

// automatically create the above listed default folders on first login
$config['create_default_folders'] = true;


br wikrie
mfg /br

WiKrIe