[Users] OT: BUG with update marking all email as "read"

Steven Rostedt rostedt at goodmis.org
Sat Jun 13 04:05:30 CEST 2015


On Sat, 9 May 2015 06:43:34 +0100
Paul <claws at thewildbeast.co.uk> wrote:

> On Fri, 8 May 2015 23:08:25 -0400
> Steven Rostedt <rostedt at goodmis.org> wrote: 
> 
> > Heh, I keep hitting the bug I reported, and came back to my claws
> > email folder to read if anything new was found. This is the first I
> > seen this email (because I wasn't Cc'd ;-)
> 
> It still seems to me that it is something particular to your set-up,
> something in particular in the way you or your system handles mail.
> Since this happens to one other person then maybe something can be
> found that is particular to you two and no-one else.
> 
> Anyway, since this thread began last December, maybe you should again
> summarise your problem, preferably with more information than before.
> 

I'll explain the issue in full detail again. I may have even more
information. The reason I came back to this topic is because it just
happened again :-(


Here's my setup.

My main server does fetchmail from various ISPs that my email goes to,
and stores them locally in files (and sometimes directories) in my
~/mail directory, or in /var/mail/rostedt (my main INBOX). Email is
filtered via procmail.

I also run dovecot as an imap server that I connect all my clients to.
I connect with claws-mail, evolution, alpine, and for my android
devices, k-9 or with the default mail client app. Claws-mail is the
*only* client that has this problem.

The issue occurs when claws syncs my INBOX, and I got new mail. It
doesn't always happen, just sometimes. But when it happens, it's always
when there's new mail.

Here's the problem: When the sync happens (and sometimes this happens
when I switch folders, and going back to my INBOX and the INBOX syncs),
while it's syncing the "New" message count changes to the number of new
messages that has arrived, and the "Unread" count goes to zero,
although the emails visible in the message list still show the emails
as bold (unread). This is when I say "crap!". Because when the sync is
finished, all those unread emails, become unbold and they are no longer
considered unread. If I connect with another client, those emails are
unread there too, thus, claws-mail told the server to mark all mail as
read (except the ones that just came in)!

As I like to keep emails that I plan on getting back to later as
unread, this breaks my workflow, because now I have over a hundred
emails I still need to get to, cleared. Not knowing which of the 3000
emails I need to read.

Note, I've been running claws-mail with --debug too, but when I do
that, the issue never happens! I've been thinking that a work around is
to just run with --debug, but I don't need the logging constantly going
off.

Right now my workaround is to pull last nights backup
of /var/mail/rostedt and do a diff. It at least puts back the unread
messages from days before. Unfortunately, this time it happened at the
end of the day, and I have to scan todays messages again to see what I
want to set back to unread.

Please Cc me, because I'll probably forget about this thread again
until the next time it happens.

-- Steve



More information about the Users mailing list