RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Pending Issues

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 08-25-2006, 10:49 AM
Registered User
 
Join Date: Aug 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Problem with IMAP to Database Sync

Ive found a bug which I think is caused by a loss of sync between the emails on the IMAP server and the emails stored in the database.

Symptoms
After a few days use, opening an email will actually display the body of a completely different email.

Possible cause
The email in the DB doesnt correspond to one indexed the same way on the server. I dont have a clue how roundcube manages this mechanism - so however it does, there's a loss of synchronisation between the two.

I have a suspicion that my desktop email client is deleting emails from the server (as it correctly should) after a few days. This is probably causing the problem in my case, but ill have to examine my Thunderbird settings later and do some testing to confirm this. Ill post again when ive checked it out.

Tests
1. Viewed email, and saw example of bug.
2. Backed up and emptied messages table in DB.
3. Viewed the same email, and recieved the correct email body.
4. Restored old data back to messages table.
5. Viewed the same email, and the bug has returned!

Solutions?
Is it possible to completely disable the storage of email in the DB? I dont really need it with Webmail..
How does roundcube manage the sync? If someone can give me a description ill have a dig around and try to debug (im a pretty seasoned PHP geek).

Im also pretty sure this bug was apparent in beta1 also.

Cheers all
mafro
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-27-2006, 08:49 AM
Registered User
 
Join Date: Aug 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Problem with IMAP to Database Sync

Quote:
Originally Posted by mafro
Solutions?
Is it possible to completely disable the storage of email in the DB? I don't really need it with Webmail..
Hi,

I started using it yesterday, but from what I read in the forum the FALSE in cache should disable the IMAP -> DB "sync".

Code:
$rcmail_config['enable_caching'] = FALSE;
in config/main.inc.php

From the http://roundcubeforum.net/forum/inde....msg927#msg927 tread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-31-2006, 09:25 AM
Registered User
 
Join Date: Aug 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Problem with IMAP to Database Sync

Cool i have disabled my caching now, which alleviates my problem.

The bug still stands tho - whats the point of caching ALL emails if roundcube cannot "sync" the DB to the IMAP store??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 02:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community