Ok. I'll look into it as time and college allows it. And report any progress. ^^
//Vale On Fri, 2007-03-02 at 16:54 +0100, Thomas Bruederli wrote: > Please remember that RoundCube does not rely on the PHP imap extension! > > If you're willing to have a look at the RoundCube code for this issue, you > should start with program/include/rcube_imap.inc and program/lib/imap.inc > where the IMAP communication is handled. > > ~Thomas > > > Benjamin Podszun wrote: > > Hi there. > > > > João Vale wrote: > >> I needed RoundCube to access shared folders on a Courier-IMAP server. > >> I've seen a couple of posts / forum threads related to this, but no real > >> solution. > >> > >> If I change $rcmail_config['imap_root'] to 'shared', I can see them. But > >> I needed to have both namespaces, 'INBOX' and 'shared', displayed in the > >> folder list. Is there a way to do this? Or is it feasible to implement > >> considering the current code structure? I'm willing to hack at it. ^^ > > > > Are you willing to hack the PHP source or hit the (ignorant) PHP guys > > with a cluebat? The PHP imap module is limited/broken, since it doesn't > > support (read: expose) both mandatory imap RFC operations (like the > > CAPABILITIES command) and optional operations that depend on this part > > (like NAMESPACES). > > The latter is the right command to ask your (or mine..) courier-imap > > server for the global namespace, the shared folders namespace etc.. > > > > Ironically PHP _could_ support that with ridiculous ease: The imap > > library PHP uses (c-client) already supports/exposes both CAPABILTIES > > and NAMESPACES.. I reported the bug several times, it was never > > considered a bug but merely a request for enhancement and ignored for > > quite some time. > > > > I have very limited C skills and never hacked the PHP code, so I > > hesitated to try it on my own yet. Anyone with more only _some_ practice > > on that field should be able to create a patch for that methods in > > merely 20 minutes.. > > > > Rant mode off, back to the basic problem: Currently the language PHP has > > limited IMAP support and therefor it's hard to support environments like > > yours or mine in applications that rely on/are written in PHP. > > > > Regards, > > Ben > > > > > >
