Philip Rhoades
2020-Dec-17 15:09 UTC
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 at pricom.com.au
Aleksander Machniak
2020-Dec-17 18:42 UTC
Using dovecot with RoundCubeMail - where is the information for new mail in (blue coloured) directories?
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