RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.1k stars 883 forks source link

(Optionally) Check all subscribed folders for unread mails #1561

Open alexkiousis opened 6 years ago

alexkiousis commented 6 years ago

RainLoop version, browser, OS: Latest release on Debian Jessie

Expected behavior and actual behavior: When login in or refreshing every folder should show it's unread count

Steps to reproduce the problem:

Logs or screenshots:

I know in #14 you said that you tried to avoid it, but showing all unread counts is very handy if you use sieve and have a lot of email going straight to folders. Maybe having it as a user option that is not enabled by default would be a good workaround.

joe-average-user commented 6 years ago

I read in another issue that it should in fact work automagical for fewer than 50 folders. For more than 50 one can enable it for every single folder (AFAIK). Unfortunately I do not see the unread count either and just wanted to open exactly the same issue...

My Version: 1.11.03

PS: it's in issue #611

PPS: I talked to another rainloop user, and he sees the "unread" counts even on folders. He uses the same rainloop version but another (older) dovecot imap version and mbox. My dovecot is 2.2.33.2 (currently latest) and I use maildir. Maybe it has something to do with that?

joe-average-user commented 6 years ago

I checked the problem in detail and it seems the unread counts are only not shown for the system folders (sent/drafts/spam/trash/archive). For custom created folders everything is as expected. Part of the story is the imap server, as mails getting moved to spam are auto-read in my case, drafts can not be unread by nature, as is trash. Only Archive seems different. Unread mails moved there stay unread but are not visible in a counter.

alexkiousis commented 6 years ago

@joe-average-user Thanks for the tip, the feature in #611 is what I wanted. Seems to work fine for me (dovecot 1:2.2.13-12~deb8u1 with fewer that 50 folders).

@RainLoop Feel free to close this issue, although an option to mass enable/disable the feature would be handy.

joe-average-user commented 6 years ago

One additional comment: yesterday I saw someone using rainloop on a provider (IMAP mailbox) I do not use myself. And he got an "unread" count on his Spam-folder. So it seems seeing unreads on system folders is really depending on the imap-server(-config) and not a rainloop issue.