[Users] [Bug 3293] New: Sometimes imapcache produces wrong email contents

Steve Litt slitt at troubleshooters.com
Sun Sep 28 16:47:39 CEST 2014

On Sun, 28 Sep 2014 08:03:52 +0000
noreply at thewildbeast.co.uk wrote:

> http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3293
>             Bug ID: 3293
>            Summary: Sometimes imapcache produces wrong email contents
>     Classification: Unclassified
>            Product: Claws Mail
>            Version: 3.10.1
>           Hardware: PC
>                 OS: Linux
>             Status: NEW
>           Severity: normal
>           Priority: P3
>          Component: Folders/IMAP
>           Assignee: users at lists.claws-mail.org
>           Reporter: ppaalanen at gmail.com
> Created attachment 1433
>   -->
> http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1433&action=edit
> Screenshot of confilcting message information
> I have several accounts configured in claws-mail, one of them is IMAP
> for gmail. At some point during the last few months I noticed the
> imapcache starting to sometimes produce wrong content.
> The screenshot describes the problem, let's take the "From" field as
> an example:
> - in the email list, the highlighted item is from Emil.
> - in the integrated message view, the heading (on gray background)
> says from Emil.
> - in the integrated message view, the content says from Kenneth
> (incorrect!)
> - in the separate message window, the heading says from Emil.
> - in the separate message window, the content says from Kenneth
> (incorrect!)
> The email body is from a wrong email, not the one I chose/opened in
> the list.
> I opened the separate message window to assure you that simply
> clicking on the email list does update the integrated message view.
> (I seem to recall another similar bug report, where you suspected the
> GUI was simply configured to not update the message view on simple
> click in the list.)
> When I notice wrong email content, I quit claws-mail, do 'rm
> .claws-mail/imapcache/imap.gmail.com/ppaalanen\@gmail.com/lists/mesa-dev/*',
> and restart claws-mail. This is needed to make the email content
> appear correctly.
> I am accessing the gmail via IMAP from two separate machines
> (independent claws-mail installations), but the two claws-mail
> instances are never running simultaneously. The problem can happen in
> both instances.
> I also have automatic processing rules in both installations for the
> gmail Inbox, which moves messages from Inbox to e.g. mesa-dev folder.
> The processing rules are not identical between the two installations.
> The version of claws-mail is 3.10.1 as from Gentoo official packages
> mail-client/claws-mail-3.10.1.

I think this bug report might be describing the same situation I've had
since I started using Claws:


I don't know what the reporter meant by "the heading (on gray
background)". What I've found is that the stuff in the actual message
was right, but the stuff in the list is wrong, and pertains to some
ancient email I once got.

As pertains to my situation, by A/B'ing Claws against Thunderbird, I
found out that the defect isn't in my local Dovecot, meaning:

A: Dovecot didn't cause the problem
B: Claws misread my Dovecot, rather than miswriting it.

This stuff tends to happen more and more until I "rebuild folder tree"
on the account. Doing so sometimes, but not always, cures past
mismatches. I can't tell whether it cures them by making the contents
match the list, the list match the contents, or just deletes the email.
This problem is so rare and intermittent that it's hard to pay

So I ask the OP: You have a message/list mismatch. Are you sure which
is wrong? What do the dates in each say? If the message view is dated
today, and the list is dated 6 months ago, this tells me the message
view is probably the accurate data.



Steve Litt                *  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance

More information about the Users mailing list