roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.59k stars 1.6k forks source link

New messages don't appear immediatly #2386

Closed rcubetrac closed 14 years ago

rcubetrac commented 14 years ago

Reported by colombeen on 9 Sep 2009 10:24 UTC as Trac ticket #1486106

When I login to my webmail system, I see the messages that I had the last time when I logged in. If I want to see the new messages, I have to change to another map like Trash and then go back. If I click on "get new messages" the systems downloads them, but they don't appear immediatly in the list. I have to refresh the page again to see them.

Migrated-From: http://trac.roundcube.net/ticket/1486106

rcubetrac commented 14 years ago

Comment by pospichalales on 10 Sep 2009 14:30 UTC

Yes, I have the same problem. Please fix it as soon as possible.

rcubetrac commented 14 years ago

Comment by Daedalus on 10 Sep 2009 20:47 UTC

Same problem here, very annoying. Please make an patch as soon as possible.

rcubetrac commented 14 years ago

Owner changed by Daedalus on 10 Sep 2009 20:47 UTC

=> none

rcubetrac commented 14 years ago

Comment by @vbenincasa on 11 Sep 2009 05:00 UTC

What's your IMAP server, PHP version and what browser are you using? Message caching is active in your RC config?

Please inform this relevant information when reporting a bug, so we can try to reproduce it too.

rcubetrac commented 14 years ago

Summary changed by @vbenincasa on 11 Sep 2009 05:00 UTC

New messages

New messages don't appear immediatly

rcubetrac commented 14 years ago

Comment by colombeen on 11 Sep 2009 06:13 UTC

imap server : imap.colombeen.be phpinfo : http://phpinfo.colombeen.be/ tested browsers : Firefox (latest version) - IE7 - IE8

rcubetrac commented 14 years ago

Comment by @vbenincasa on 11 Sep 2009 06:59 UTC

And what about message caching in your RC config (enable_caching)? Are you using RC0.3-stable? Are you using another IMAP client to check your account at the same time (like Thunderbird, Outlook, etc)?

Can you provide an temporary mail account for testing at imap.colombeen.be? If you can, please send the details to me (vbenincasa AT gmail.com) or RC dev list (dev AT lists.roundcube.net) referring this ticket, then I'll take a look.

Ps. For tracking purposes, this ticket is related to #1485794

rcubetrac commented 14 years ago

Comment by colombeen on 11 Sep 2009 13:10 UTC

If the caching is on by default, it will be on... test account is on its way...

rcubetrac commented 14 years ago

Comment by colombeen on 11 Sep 2009 13:18 UTC

When i set the caching on FALSE, the sidebar (with the directories) shows the number of new messages but the list on its own doesn't refresh.

rcubetrac commented 14 years ago

Comment by Daedalus on 12 Sep 2009 20:57 UTC

I have the exact same problem as colombeen here is an link of the phpinfo from the server my webmail is on, hope that helps in finding the problem!

http://www.beus-it.nl/phpinfo.php

Thanks in advance.

rcubetrac commented 14 years ago

Comment by blodan on 14 Sep 2009 17:08 UTC

We got the exact same problem with 3.0-stable, http://www.praxxa.com/nfo.php We're using caching enabled, but this worked flawlessly in previous versions. Using hmail 5.1.2-Build 346

rcubetrac commented 14 years ago

Comment by cgallek on 14 Sep 2009 19:58 UTC

I'm seeing the same problem.

IMAP: Cyrus 2.1.18

PHP: 5.2.10

DB: MySQL 5.0.51a

$rcmail_config[= TRUE;

$rcmail_config'message_cache_lifetime' = '10d';

Let me know if you are interested in a test account and I can set one up for you.

rcubetrac commented 14 years ago

Comment by colombeen on 16 Sep 2009 15:04 UTC

Now that i've just looked at the test account that I made for you to test, it seems that there is nothing more than an inbox... no trash, spam, ...

rcubetrac commented 14 years ago

Comment by francisco on 17 Sep 2009 23:52 UTC

Hi,

When I set $rcmail_configenable_caching = FALSE, the "delay" was gone!

PHP Version 5.2.10 dovecot-1.2.4 dovecot-managesieve-0.11.9 dovecot-sieve-1.2+0.1.12 postfix-2.6.3,1

rcubetrac commented 14 years ago

Comment by Daedalus on 18 Sep 2009 05:11 UTC

Replying to francisco:

Hi,

When I set $rcmail_configenable_caching = FALSE, the "delay" was gone!

PHP Version 5.2.10 dovecot-1.2.4 dovecot-managesieve-0.11.9 dovecot-sieve-1.2+0.1.12 postfix-2.6.3,1

The just this happens: "When i set the caching on FALSE, the sidebar (with the directories) shows the number of new messages but the list on its own doesn't refresh."

rcubetrac commented 14 years ago

Comment by pospichalales on 19 Sep 2009 05:39 UTC

OK. It is working, when I set caching to false.

rcubetrac commented 14 years ago

Comment by @alecpl on 24 Sep 2009 13:03 UTC

Fixed in 38bf4253.

rcubetrac commented 14 years ago

Status changed by @alecpl on 24 Sep 2009 13:03 UTC

new => closed

rcubetrac commented 14 years ago

Comment by stridger on 4 Nov 2009 00:02 UTC

We are still seeing this in 0.3.1 . The left pane updates the new message count just fine, but the message list on the right is not refreshed...

rcubetrac commented 14 years ago

Status changed by stridger on 4 Nov 2009 00:02 UTC

closed => reopened

rcubetrac commented 14 years ago

Comment by Daedalus on 4 Nov 2009 06:18 UTC

Replying to stridger:

We are still seeing this in 0.3.1 . The left pane updates the new message count just fine, but the message list on the right is not refreshed...

It works fine here.

rcubetrac commented 14 years ago

Comment by @alecpl on 4 Nov 2009 07:16 UTC

@stridger: are you using enable_caching=true? Did you update database (truncate cache table) when upgrading? Cache must be empty, because could contain dupes.

rcubetrac commented 14 years ago

Comment by colombeen on 4 Nov 2009 07:25 UTC

I had the same problem in version 0.3

for version 0.3.1, I deleted all my db tables for roundcube, deleted all the roundcube 0.3 files and began with a clean install. didn't enable the caching, so I don't know if the problem would be back then but now it works perfectly!

rcubetrac commented 14 years ago

Comment by stridger on 4 Nov 2009 10:24 UTC

@alec: Yes I did empty the cache table and I have tried this with caching disabled and caching enabled, that didn't make a difference. We are running with caching disabled now, because of other problems this was causing in earlier versions.

@colombeen: I'd rather not delete all the tables, because of user-specific settings, we have a userbase of about 1000 and that would cause a few problems if we reset everything.

Thanks!

rcubetrac commented 14 years ago

Comment by @alecpl on 4 Nov 2009 10:26 UTC

So, your problem is probably an other issue. See #1485794. DO not reopen this one.

rcubetrac commented 14 years ago

Status changed by @alecpl on 4 Nov 2009 10:26 UTC

reopened => closed

rcubetrac commented 14 years ago

Comment by stridger on 4 Nov 2009 12:03 UTC

Ok, apologies, I haven't spotted the other issue. There have been quite a few issues of a similar flavour in the past and I have taken the newest one I could find. Thanks for the pointer to the current problem.

rcubetrac commented 14 years ago

Comment by stridger on 4 Nov 2009 12:06 UTC

@alec: Looking at it again, it's actually not the same issue, I don't have other IMAP clients running anywhere. Do you want me to create a new issue then?

Thanks!

rcubetrac commented 14 years ago

Comment by @alecpl on 4 Nov 2009 12:08 UTC

If you like. It could be also IMAP server issue, it means some servers are setting Recent flag not properly and Roundcube currently relies on that flag.

rcubetrac commented 14 years ago

Comment by stridger on 4 Nov 2009 16:55 UTC

Thanks. I've created a separate ticket #1486278.