Roundcube Community Forum

Release Support => Pending Issues => Topic started by: markand on June 02, 2009, 03:32:46 AM

Title: Make defaults folders
Post by: markand on June 02, 2009, 03:32:46 AM
Hi there,

I'm running roundcube on my server and this is just perfect! :)

The only problem I have is that I need to set Trash, Sent and Drafts folder by hand for each user preferencies (if not only received appears).

So I was guessing if we can set it by default for the system then new user will not need to add themselves and set it in their preferencies. :)
Title: Make defaults folders
Post by: Julius Caesar on June 02, 2009, 04:02:26 AM
Check the following settings in the ./config/main.inc.php:

// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');

// automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = TRUE;

// protect the default folders from renames, deletes, and subscription changes
$rcmail_config['protect_default_folders'] = TRUE;
Title: Make defaults folders
Post by: markand on June 02, 2009, 05:17:41 AM
That works thanks :)