Opened 4 years ago
Closed 3 years ago
#1486115 closed Bugs (fixed)
Deleted messages still shown
| Reported by: | MarcusWolschon | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3.1 |
| Component: | IMAP connection | Version: | 0.3-stable |
| Severity: | normal | Keywords: | imap deleted |
| Cc: |
Description
Server: Courier-IMAP
RoundCube often shows messages that are already deleted
in a folder.
Opening such a message shows an empty body.
Such ghost-messages cannot be deleted or moved.
Change History (16)
comment:1 Changed 4 years ago by alec
- Resolution set to duplicate
- Status changed from new to closed
comment:2 Changed 4 years ago by MarcusWolschon
- Resolution duplicate deleted
- Status changed from closed to reopened
comment:3 Changed 4 years ago by alec
- Milestone changed from later to 0.3.1
Do you have enable_caching=true or not?
comment:4 Changed 4 years ago by MarcusWolschon
enable caching of messages and mailbox data in the local database.
this is recommended if the IMAP server does not run on the same machine
$rcmail_configenable_caching? = TRUE;
lifetime of message cache
possible units: s, m, h, d, w
$rcmail_configmessage_cache_lifetime? = '10d';
comment:5 Changed 4 years ago by alec
So, how you delete those messages? Maybe you're talking about such scenario: http://lists.roundcube.net/mail-archive/dev/2009-09/0000059.html
comment:6 Changed 4 years ago by MarcusWolschon
"and if one polls folder state between second and third operations are run"
No, the deleted messages are shown for DAYS at a time. I guess
folder-state is polled regularly. At least each time I open a folder.
Sometime the ghost-messages are gone when a real message in the same folder
gets deleted or moved via RoundCube.
Sometimes they even re-appear when opening the folder again.
comment:7 Changed 4 years ago by alec
You are talking about "marked as deleted (flag_for_deletion option), but not deleted" messages? Do you use other imap client? This maybe some misunderstanding of imap protocol, not a bug.
comment:8 Changed 4 years ago by MarcusWolschon
I use many clients on that account.
Thunderbird, Roundcube, Flexmail on Windows Mobile, ...
The messages are only shown in RoundCube, not in any other client
and are not marked in any special way that would indicate a deleted-flag
(such as being greyed).
Anything I can do to gather information for debugging when it happens?
(It has about 50 folders and multiple gigabytes of messages. Roundcube runs
in another VM on the same host as the Courier-MTA -suite)
comment:9 Changed 4 years ago by alec
So it must be a caching issue maybe not duplicate but related to #1485443. Probably those message were removed by other imap client, but Roundcube cache is out of sync.
comment:10 Changed 4 years ago by MarcusWolschon
I guess something like that.
Disabling caching on an account of that size does not sound like
a good workaround. (Opening the "sent"-folder to search for something
already takes eons.)
comment:11 Changed 4 years ago by alec
[59395e7e] may fix your issue. Make messages table empty and do some tests with patch applied.
comment:12 Changed 4 years ago by MarcusWolschon
I applied the patch.
I'll let you know if it happens again.
Thanks :)
comment:13 Changed 4 years ago by alec
- Resolution set to fixed
- Status changed from reopened to closed
Then I close the ticket. Reopen if needed.
comment:14 Changed 3 years ago by MarcusWolschon
- Resolution fixed deleted
- Status changed from closed to reopened
Sorry,
it still happens.
I just had 5 such messages.
comment:15 Changed 3 years ago by alec
Any new errors in log? What version are you running now? Did you remove messages table contents after update?
comment:16 Changed 3 years ago by alec
- Resolution set to fixed
- Status changed from reopened to closed
No feedback.

Duplicate of #1485443