imap_root when using maildir++ depot and local user login problem
jeff at netnichols.com
Fri Oct 14 11:08:38 CEST 2005
Hi, the problem with courier-imap (and similar IMAP servers) is known.
I've included part of some mails that went to the list a little earlier.
I would also like to ask Thomas solving the courier-imap problems a top
priority. I looked into hacking it myself, but as other people have
also experienced (and as he mentions below), the imap_root stuff goes
pretty deep, and I would rather Thomas handle this himself.. or at least
someone with much more knowledge of the codebase than myself.
2005/10/13, Joshua Layne <joshua at willowisp.net>:
>> Currently you have to change this in a few places, including the skin.
>> I will submit a change (later tonight, still at work) so that this
prefix has to only be set once in the main config file.
>> Also, I believe that it is possible to retrive this prefix from imap
- I know thunderbird allows you to set it, but also defaults to a "allow
server override" for the folder prefix.
>> Does anyone know further details on this?
Yes, you can get the prefic from the IMAP server. This is done with
the function iil_C_NameSpace() in program/lib/imap.inc
In the latest CVS version, this is done (see rcube_imap.inc) but it
does not set the 'imap_root' property because this would mean that the
main INBOX folder is not accessible from RoundCube. I have to change
the behavior of that 'imap_root' (which is quite deep) setting first.
To fix this properly will take a wile...
Mattias Wikstrom wrote:
> I just installed RoundCube and everything seems to work fine except for
> two things:
> 1. I use bincimap as my imap server with the maildir++ depot (same as
> courier-imap), which stores all the users folders in the INBOX.
> If I leave imap_root empty in the config (as is the default) all the
> folders are shown as being under the INBOX, but the Sent, Drafts and
> Trash folders are not assigned icons.
> If I change imap_root to "INBOX/" the folders are shown with correct
> icons but the Inbox disappears from the list and cannot be selected!
> 2. I use qmail with vmailmgr as my MTA. I can login fine with virtual
> users, but local users seem to generate some kind of loop and I cannot
> login, it just loads forever. If I check my imap servers logs it shows
> that the authentification was successful, RoundCubes logs show no errors
> and neither do the apache-logs.
> I also have SquirrelMail installed and it works flawlessly as do
> stand-alone clients like Mozilla Thunderbird.
> I realise that RoundCube is still in its infancy but the project looks
> very promising already! Alas I'm not a programmer, so I cannot
> contribute to the project (except with bug-reports ;).
> Best regards!
> Mattias Wikstrom
More information about the Dev