Hello,
I found the following explanations about using 'imap_root' configuration option
to get similar behaviour as can be defined for Squirrelmail (and other mail clients):
https://github.com/roundcube/roundcubemail/issues/50731. I could find only one reference to 'imap_root' configuration option
(in ./include/rcmail_install.php file) in $replaced_config array, saying,
that 'imap_root' is replaced by 'imap_ns_personal'.
So, can we use the the following approach for Roundcube version 1.3.8
(replacing $rcmail_config[] by $config[] in config.inc.php):
Comment by hsleisink on 27 Nov 2013 15:18 UTC
I have a simple patch for this:
Add the following line to config/main.inc.php:
$rcmail_config['imap_root'] = 'mail'; In program/steps/settings/folders.inc change line 212 and 213 to:
$a_unsubscribed = $STORAGE->list_folders($RCMAIL->config->get('imap_root'));
$a_subscribed = $STORAGE->list_folders_subscribed($RCMAIL->config->get('imap_root'), '*', null, null, true); // unsorted
2. Can we use the following approach in Roundcube version 1.3.8
(or should we wait with this approach for stable version 1.4):
alecpl commented Jun 11, 2018
With the above commit following configuration can be used to achieve the requested behavior:
$config['imap_ns_personal'] = 'mail/';
$config['imap_ns_other'] = null;
$config['imap_ns_shared'] = null; Regards,
pkrc