Every special folder has separate config option, which should be listed in dont_override.
Hm...
Thanks!
Looks like I got what I want.
I have the line:
$rcmail_config['dont_override'] = array('drafts_mbox','junk_mbox','sent_mbox','trash_mbox','archive_mbox');I don't see
Settings -> Preferences -> Special Folders any more.
But now I have a new problem and it seems like a bug.
In
Settings -> Folders the folders lost there English (and translation names).
They look like this:
- Inbox
- INBOX.Drafts
- INBOX.Sent
- INBOX.Junk
- INBOX.Trash
- Archive
You can see the screenshot attached.
This is a BUG?
One more.
I tried to change line to:
$rcmail_config['dont_override'] = array('default_imap_folders');After that in
$rcmail_config['log_dir'] ->
tail -F errorswhen I try to see "
Settings -> Preferences -> Special Folders"
I began to see error:
[13-Jan-2012 14:38:13] PHP Fatal error: Call to a member function list_mailboxes() on a non-object in /www/program/include/main.inc on line 1246
[13-Jan-2012 14:38:27] PHP Fatal error: Call to a member function list_mailboxes() on a non-object in /www/program/include/main.inc on line 1246
[13-Jan-2012 14:38:41] PHP Fatal error: Call to a member function list_mailboxes() on a non-object in /www/program/include/main.inc on line 1246
Line 1246 is:
$list = $RCMAIL->imap->list_mailboxes('', $p['folder_name'], $p['folder_filter'], $p['folder_rights']);This looks like another bug.