Hi everyone,

I'm experiencing some problems when reading the Folders list in "Personal Settings" -> "Folders". I have installed three versions of RoundCube right now:

- RC1
- SVN (584)
- nightly-svn (from sourceforge)


The problem is with this option:

     // only list folders within this path
     $rcmail_config['imap_root'] = '';


If the variable is left blank:
     $rcmail_config['imap_root'] = '';
the folders list under "Personal Settings" shows the complete list of everything under /home/user-logged-in/ for all the three versions (RC1, SVN, nightly).


If the variable is set to anything but blank:
          $rcmail_config['imap_root'] = 'mail';
the folders list under "Personal Settings" shows:

     nightly: the content of /home/user-logged-in/mail/. OK

     RC1 and SVN: the whole content of /home/user-logged-in/ *BUT* without the *5* first letters of the file/folder. Example: file /home/user-logged-in/public_html/index.html file should not be visible, but is showed as c_html/index.html . I've also seen that in general, putting anything for the $rcmail_config['imap_root'] of N letters, makes the folder show everything in the user's home, without the first N letters.



I posted a ticket but it was marked as invalid, because the error was in my IMAP server. Anyway, why does this feature work with the same server in nightly-svn build from sourceforge and not with RC1 or latest SVN?



Thanks for your help