Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: jpkelly on November 01, 2011, 02:46:11 AM

Title: RC does not create_default_folders
Post by: jpkelly on November 01, 2011, 02:46:11 AM
I have set
$rcmail_config['create_default_folders'] = TRUE;
in main.inc.php
And the folders used to be created automatically but for some reason they are no longer created.
This a Courier/IMAP system.
Any ideas?
Title: RC does not create_default_folders
Post by: JohnDoh on November 02, 2011, 03:46:52 AM
QuoteAnd the folders used to be created automatically but for some reason they are no longer created.
well what has changed? have you upgraded rc may be? if you did then did you update your config file so the default folders have INBOX. namespace?
Title: RC does not create_default_folders
Post by: jpkelly on November 02, 2011, 03:59:19 AM
Yes I upgraded.

What is the syntax for the INBOX. prefix?
Should it be like this? Should the INBOX folder get the prefix as well? (INBOX.INBOX)

// 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)
$rcmail_config['drafts_mbox'] = 'INBOX.Drafts';

// store spam messages in this mailbox
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['junk_mbox'] = 'INBOX.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)
$rcmail_config['sent_mbox'] = 'INBOX.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)
$rcmail_config['trash_mbox'] = 'INBOX.Trash';

// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['default_imap_folders'] = array('INBOX.INBOX', 'INBOX.Drafts', 'INBOX.Sent', 'INBOX.Junk', 'INBOX.Trash');