Using dovecot with RoundCubeMail - where is the information for new mail in (blue coloured) directories?

Aleksander Machniak alec at alec.pl
Thu Dec 17 20:42:20 EET 2020


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


More information about the dovecot mailing list