Bug 3532

Summary: cache file gets corrupted when receiving via IMAP & sending mail at the same time
Product: Claws Mail (GTK 2) Reporter: Michał Górny <mgorny>
Component: Folders/IMAPAssignee: users
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 3.12.0   
Hardware: PC   
OS: Linux   

Description Michał Górny 2015-10-04 08:21:34 UTC
I've seen this three times already, though it's not easy to reproduce. I have a few IMAP accounts with many folders and periodic mail checks enabled. It happens that when I edit a message in the foreground, claws starts checking mail in the background and I click 'send'. Now, usually that works somehow.

However, there's some hidden ugly race condition that sometimes makes claws confuse 'Queue' with another folder. Long story short, claws hangs for a while (fetching mail bodies, I guess) and then suddenly 'Queue' contains 1000+ mails that were really in another folder.
Comment 1 Francis 2015-10-05 10:15:43 UTC
The other race I noted is that the filtering rules are not run on received messages.
Comment 2 Paul 2015-10-05 10:31:42 UTC
are messages really moved or is it just the cache file that gets messed up?
Comment 3 Michał Górny 2015-10-05 15:26:27 UTC
Just the cache.