Using dovecot with RoundCubeMail - where is the information for new mail in (blue coloured) directories?
People,
Every few years I try to work this problem out - occasionally I would like to re-mark a dir as having new mail so that the dir shows up as blue-coloured in RCM. Every time I Google in vain and then have a go at working it out myself but the only thing I can see is that there is a change in the appropriate dir dovecot.index.log file after having the blue dir clicked on (and the colour of the dir name changes back to black) - so is the information stored somewhere in RCM itself?
Thanks,
Phil.
Philip Rhoades
PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au
On 17.12.2020 16:09, Philip Rhoades wrote:
Every few years I try to work this problem out - occasionally I would like to re-mark a dir as having new mail so that the dir shows up as blue-coloured in RCM. Every time I Google in vain and then have a go at working it out myself but the only thing I can see is that there is a change in the appropriate dir dovecot.index.log file after having the blue dir clicked on (and the colour of the dir name changes back to black) - so is the information stored somewhere in RCM itself?
In Roundcube we store in session an information about the max message uid in a folder. We do not use the RECENT flag because it was not reliable (according to some comments in code).
When you click the folder the value in session is being updated, and it has not much to do with dovecot index file.
See rcube_imap::folder_status() in Roundcube.
-- Aleksander Machniak Kolab Groupware Developer [https://kolab.org] Roundcube Webmail Developer [https://roundcube.net]
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
On 17 Dec 2020, at 11:42, Aleksander Machniak alec@alec.pl wrote:
We do not use the RECENT flag because it was not reliable (according to some comments in code).
That is odd, as my MUA has no trouble with knowing which folders contain unread messages and how many unread messages each folder contains.
Has this been checked recently?
Or am I misunderstanding the issue?
-- "Are you pondering what I'm pondering?" "I think so, Brain, but what if the hippopotamus won't wear the beach thong?"
@lbutlr,
On 2020-12-19 00:26, @lbutlr wrote:
On 17 Dec 2020, at 11:42, Aleksander Machniak alec@alec.pl wrote:
We do not use the RECENT flag because it was not reliable (according to some comments in code).
That is odd, as my MUA has no trouble with knowing which folders contain unread messages and how many unread messages each folder contains.
Has this been checked recently?
Or am I misunderstanding the issue?
See my followup note to David I just sent.
Thanks,
Phil.
Philip Rhoades
PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au
participants (3)
-
@lbutlr
-
Aleksander Machniak
-
Philip Rhoades