Roundcube Community Forum

 

RC does not create_default_folders

Started by jpkelly, November 01, 2011, 02:46:11 AM

Previous topic - Next topic

jpkelly

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?

JohnDoh

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?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

jpkelly

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');