Roundcube Community Forum

 

imap root

Started by fakesy, December 27, 2012, 04:47:21 PM

Previous topic - Next topic

fakesy

Not sure if what I'm trying to achieve is possible?

Our users mail is stored in mail/. We use dovecot, and I have these options in the config file (see below).

The problem is that it is still showing all the folders in the users home directory including mail among others that are not relevant to email at all.

Help!

// If you know your imap's folder delimiter, you can specify it here.
// Otherwise it will be determined automatically
$rcmail_config['imap_delimiter'] = NULL;

// If IMAP server doesn't support NAMESPACE extension, but you're
// using shared folders or personal root folder is non-empty, you'll need to
// set these options. All can be strings or arrays of strings.
// Folders need to be ended with directory separator, e.g. "INBOX."
// (special directory "~" is an exception to this rule)
// These can be used also to overwrite server's namespaces
$rcmail_config['imap_ns_personal'] = 'mail/';
//$rcmail_config['imap_ns_other'] = 'mail/';
//$rcmail_config['imap_ns_shared'] = 'mail/';