I managed to fix the problem. The IMAP server I used was configured to store the message index in memory. Now I set it to store indexes on the disk, and the problem disappeared. This bug report should probably be closed.
I managed to fix the problem. The IMAP server I used was configured to store the message index in memory. Now I set it to store indexes on the disk, and the problem disappeared. This bug report should probably be closed.