I sort of fixed the problem for my installation by changing _mod_mailbox
in rcube_imap.inc as follows:
function _mod_mailbox($mbox, $mode='in')
{
if (!empty($this->root_ns) && $this->root_ns == $mbox)
return $mbox;
// added the following two lines
if ($mbox == 'INBOX' && $mode == 'in')
return $mbox;
// end modification
if (!empty($this->root_dir) && $mode=='in')
$mbox = $this->root_dir.$this->delimiter.$mbox;
else if (strlen($this->root_dir) && $mode=='out')
$mbox = substr($mbox, strlen($this->root_dir)+1);
return $mbox;
}
This is a hack and it's probably not the "right" way to fix this problem
but it mostly seems to work. For some reason the back button doesn't
work on the mail view page but you can click the Inbox folder to get
back to the message listing.
Jason
blur wrote:
I am also having this problem with the INBOX with the latest build.
I'm running Courier IMAP. All folders work fine, but when I click in
INBOX it shows no messages. But any other way I get to the inbox. ie
(going to prefs and then going back to email) will show the inbox
properly. It seems to be only when click on the actual INBOX.
I have imap_root empty in the config.
Anyone figure this out?
thanks!
robert.
On Oct 21, 2005, at 11:04 AM, Jason von Nieda wrote:
Hi all, I have RoundCube installed and working but am having a small
problem with imap_root.
I keep my mail folders in my home directory under a subdirectory
called mail, and I'm using UW-IMAP. My INBOX is in /var/spool/mail/
I have set the imap_root to "mail" and it mostly works fine. My
folders all show up properly in the list and it only shows the ones
from my mail directory.
The problem is that if I click the INBOX folder I get no messages.
When I first log in the messages from my inbox show on the right side
but if I click the folder it never shows again.
Additionally the Sent folder works fine but the Trash folder doesn't.
Trash shows (34) new messages, which is correct but if I click the
folder I get a blank list.
All other "normal" folders work just fine.
Any ideas?
Thanks,
Jason von Nieda