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
Hi Jason,
i'm nut sure what's the reason for you Problem. But as you say it could be the imap_root. Try upgrading to the most current release (or CVS version): https://sourceforge.net/project/shownotes.php?release_id=365053
I suppose your Problem could be solved with that one.
stephan
On Fri, 21 Oct 2005 10:04:53 -0500, Jason von Nieda jason@vonnieda.org 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
Jason von Nieda <jason <at> vonnieda.org> writes:
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.
I don't think imap_root has anything to do with paths on the file system; I assumed it was for IMAP namespaces. Did roundcube not work properly with the default setting for imap_root?
Argh i forgot the reason for my suggestion: imap_root is now resolved from the server itself :-)
On Fri, 21 Oct 2005 17:09:53 +0200, Stephan Dahlmann stephan@dahltronics.de wrote:
Hi Jason,
i'm nut sure what's the reason for you Problem. But as you say it could be the imap_root. Try upgrading to the most current release (or CVS version): https://sourceforge.net/project/shownotes.php?release_id=365053
I suppose your Problem could be solved with that one.
stephan
On Fri, 21 Oct 2005 10:04:53 -0500, Jason von Nieda jason@vonnieda.org 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
It is for the IMAP namespace, but depending on the IMAP server that eventually can translate to a file on the filesystem. For the UW-IMAP server the default is to store mail folders in your home directory, but if you do that then your mail client ends up looking through your entire home directory (and mine is quite large) for mail folders. Instead I use a subdirectory called mail with a imap_root of mail so the client should request folders as mail/FolderName.
In any case, I am not sure if this is proper behavior but it's definitely accepted. I use a imap root of mail in Mail.app on OS X, Thunderbird in Windows and OS X and Outlook Express in Windows. These all seem to work as expected.
The latest change to using a default delimiter if the server doesn't send one seems to fix much of the problem but the INBOX and Trash folders still fail. It sounds like other people are having the same problem with INBOX, in that the client is requesting imap_root/INBOX instead of INBOX. IMAP reserves the name INBOX to mean "the user's system inbox, wherever that is" and it should not be prepended with the imap_root.
Jason
Justus Pendleton wrote:
Jason von Nieda <jason <at> vonnieda.org> writes:
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.
I don't think imap_root has anything to do with paths on the file system; I assumed it was for IMAP namespaces. Did roundcube not work properly with the default setting for imap_root?
On Fri, 21 Oct 2005 12:34:45 -0500, Jason von Nieda jason@vonnieda.org wrote:
The latest change to using a default delimiter if the server doesn't send one seems to fix much of the problem but the INBOX and Trash folders still fail. It sounds like other people are having the same problem with INBOX, in that the client is requesting imap_root/INBOX instead of INBOX. IMAP reserves the name INBOX to mean "the user's system inbox, wherever that is" and it should not be prepended with the imap_root.
I haven't had any problems with UW-IMAP yet. In fact, it wasn't until today's release that I could get it to work at all with my IMAP server. I think the SSL fix was the crucial component. Muchas gracias!
-Gary
On Fri, Oct 21, 2005 at 10:04:53AM -0500, 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
Hi Jason, you've been playing with this too?
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
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I have had trouble with the imap_root with UW-IMAP as well. I posted a couple of hours ago, but my post seems to have got lost :-(
It appears that the imap_root prefix (~/Mail/ in my case) is being put on the front of INBOX as well as all the normal folders, which is wrong. That's with the 20051021 build.
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
Julian Field Teaching Systems Manager jkf@ecs.soton.ac.uk Electronics & Computer Science Tel. 023 8059 2817 University of Southampton Southampton SO17 1BJ
You have to set the prefix for mailbox store of Trash and Sent seperatly. Did you try that?
/Rob
On Fri, 21 Oct 2005 12:34:45 -0500, Jason von Nieda jason@vonnieda.org wrote:
It is for the IMAP namespace, but depending on the IMAP server that eventually can translate to a file on the filesystem. For the UW-IMAP server the default is to store mail folders in your home directory, but if you do that then your mail client ends up looking through your entire home directory (and mine is quite large) for mail folders. Instead I use a subdirectory called mail with a imap_root of mail so the client should request folders as mail/FolderName.
In any case, I am not sure if this is proper behavior but it's definitely accepted. I use a imap root of mail in Mail.app on OS X, Thunderbird in Windows and OS X and Outlook Express in Windows. These all seem to work as expected.
The latest change to using a default delimiter if the server doesn't send one seems to fix much of the problem but the INBOX and Trash folders still fail. It sounds like other people are having the same problem with INBOX, in that the client is requesting imap_root/INBOX instead of INBOX. IMAP reserves the name INBOX to mean "the user's system inbox, wherever that is" and it should not be prepended with the imap_root.
Jason
Justus Pendleton wrote:
Jason von Nieda <jason <at> vonnieda.org> writes:
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
directory.
I don't think imap_root has anything to do with paths on the file
system; I
assumed it was for IMAP namespaces. Did roundcube not work properly
with the
default setting for imap_root?
I am running it with dovecot and have exactly the same problem. Could be a problem with the background transfer not properly refreshing the mailbox listing, while staying within the mailbox list view. It works, if you switch to pref view and back, because the mailbox list view script is loaded again from scratch.
/rob
On Fri, 21 Oct 2005 16:22:33 -0400, blur blur@ekreativity.com 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
Yes, I just do a refresh in my browser to get the inbox back up also. On Oct 22, 2005, at 6:24 AM, Robert Landes wrote:
I am running it with dovecot and have exactly the same problem.
Could be a problem with the background transfer not properly
refreshing the mailbox listing, while staying within the mailbox
list view. It works, if you switch to pref view and back, because
the mailbox list view script is loaded again from scratch./rob
On Fri, 21 Oct 2005 16:22:33 -0400, blur blur@ekreativity.com 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