Author Topic: [Solved]Issue with sub folders and standard folders  (Read 4376 times)

Offline ricardo777

  • Jr. Member
  • **
  • Posts: 23
[Solved]Issue with sub folders and standard folders
« on: June 04, 2014, 05:12:02 AM »
Hello,

I have an issue with my roundcube setup when using this:

Code: [Select]
// 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)
$config['default_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');

It works and roundcube recognize all folders as the sepcial folders.

But I want to set the folders as sub folders in the inbox like:

Code: [Select]
// 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)
$config['default_folders'] = array('INBOX', 'INBOX.Drafts', 'INBOX.Sent', 'INBOX.Junk', 'INBOX.Trash');

But after that setting roundcube see the INBOX.foldername as a normal folder and the special folder setting is empty, with every new user mailbox account I need to set the special folders manually.

Hope you got a solution.
« Last Edit: June 07, 2014, 01:12:46 PM by ricardo777 »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Issue with sub folders and standard folders
« Reply #1 on: June 04, 2014, 07:11:25 AM »
that is ths default folders setting but not the special folders setting. you need to set all the speical folders settings too, the ones like $config['drafts_mbox'].
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline ricardo777

  • Jr. Member
  • **
  • Posts: 23
Re: Issue with sub folders and standard folders
« Reply #2 on: June 04, 2014, 09:16:37 AM »
that is ths default folders setting but not the special folders setting. you need to set all the speical folders settings too, the ones like $config['drafts_mbox'].

Thank you for your fast reply, I see the settings now in the config, I had a quick search in the forum and in the config file for "folders" but did not found that solution. Thank you will try it out.

Sorry I have another question, the plugin archive that is in the package, I cannot find how I can set the archive folder for new users is this also possible?

« Last Edit: June 04, 2014, 09:18:30 AM by ricardo777 »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Issue with sub folders and standard folders
« Reply #3 on: June 05, 2014, 02:44:38 AM »
i have never used it myself but it looks like if you add $config['archive_mbox'] to your config file that will do it.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline ricardo777

  • Jr. Member
  • **
  • Posts: 23
Re: Issue with sub folders and standard folders
« Reply #4 on: June 07, 2014, 05:09:16 AM »
Thank you for your reply, I have tested and the archive works, only on the settings page the archive folder is set to -- but it works.