Author Topic: imap root  (Read 3655 times)

Offline fakesy

  • Newbie
  • *
  • Posts: 1
imap root
« on: December 27, 2012, 04:47:21 PM »
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!

Code: [Select]
// 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/';
« Last Edit: December 27, 2012, 04:55:57 PM by fakesy »