David Morsberger
2020-Dec-18 13:08 UTC
Using dovecot with RoundCubeMail - where is the information for new mail in (blue coloured) directories?
Phil, Are you trying to find out how dovecot marks emails as unread? Assuming you are using maildir format, it appears to be encoded as flags in the email filename on disk. It?s briefly covered in 'Filename examples' https://wiki2.dovecot.org/MailboxFormat/Maildir <https://wiki2.dovecot.org/MailboxFormat/Maildir> And in 'What can I put in info?' https://cr.yp.to/proto/maildir.html <https://cr.yp.to/proto/maildir.html>> On Dec 17, 2020, at 7:12 PM, Philip Rhoades <phil at pricom.com.au> wrote: > > Benny, > > > On 2020-12-18 09:28, Benny Pedersen wrote: >> Philip Rhoades skrev den 2020-12-17 22:14: >>> Every few years I try to work this problem out >> User-Agent: Roundcube Webmail/1.4-rc1 >> please upgrade first > > > It is a long-standing problem and upgrading RCM is not a solution . . > > >>> - occasionally I would >>> like to re-mark a dir as having new mail so that the dir shows up as >>> blue-coloured in RCM. >> please dont modify mails outside of imap protocol, > > > Then how do I do what I want with IMAP? > > >> if you use >> roundcube it will not be needed to mangle shell accounts > > > That comment doesn't make sense . . > > >>> Every time I Google in vain and then have a go >>> at working it out myself >> if google have no answer to it, its simple not supported > > > Quite frequently not true . . > > >>> 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 >> dont mangle files outside of imap protocol > > > You already said that - what is your solution then? > > >>> (and the colour of the dir name changes back >>> to black) - so is the information stored somewhere in RCM itself? >> no > > > OK, overall not a very helpful response . . but thanks anyway. > > P. > -- > Philip Rhoades > > PO Box 896 > Cowra NSW 2794 > Australia > E-mail: phil at pricom.com.au-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20201218/6ffb3f3e/attachment.html>
Philip Rhoades
2020-Dec-19 05:19 UTC
Using dovecot with RoundCubeMail - where is the information for new mail in (blue coloured) directories?
David, On 2020-12-19 00:08, David Morsberger wrote:> Phil, > > Are you trying to find out how dovecot marks emails as unread?No - I am trying to work out how New Unread Mails are highlighted in blue - see the attached partial screen capture - the two blue-highlighted RCM folders are highlighted in blue AND are also in bold - folders with OLD but UNREAD mails are just in bold. I want to create a script or find out some way of marking a folder blue according to the datestamp of the most recent mail in the folder. Does that make sense? Thanks, Phil.> Assuming you are using maildir format, it appears to be encoded as > flags in the email filename on disk. > > It?s briefly covered in 'Filename examples' > https://wiki2.dovecot.org/MailboxFormat/Maildir > > And in 'What can I put in info?' > https://cr.yp.to/proto/maildir.html > >> On Dec 17, 2020, at 7:12 PM, Philip Rhoades <phil at pricom.com.au> >> wrote: >> >> Benny, >> >> On 2020-12-18 09:28, Benny Pedersen wrote: >> Philip Rhoades skrev den 2020-12-17 22:14: >> Every few years I try to work this problem out >> User-Agent: Roundcube Webmail/1.4-rc1 >> please upgrade first > > It is a long-standing problem and upgrading RCM is not a solution . . > >>> - occasionally I would >>> like to re-mark a dir as having new mail so that the dir shows up >>> as >>> blue-coloured in RCM. >> please dont modify mails outside of imap protocol, > > Then how do I do what I want with IMAP? > >> if you use >> roundcube it will not be needed to mangle shell accounts > > That comment doesn't make sense . . > >>> Every time I Google in vain and then have a go >>> at working it out myself >> if google have no answer to it, its simple not supported > > Quite frequently not true . . > >>> 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 >> dont mangle files outside of imap protocol > > You already said that - what is your solution then? > >>> (and the colour of the dir name changes back >>> to black) - so is the information stored somewhere in RCM itself? >> no > > OK, overall not a very helpful response . . but thanks anyway. > > P. > -- > Philip Rhoades > > PO Box 896 > Cowra NSW 2794 > Australia > E-mail: phil at pricom.com.au-- Philip Rhoades PO Box 896 Cowra NSW 2794 Australia E-mail: phil at pricom.com.au -------------- next part -------------- A non-text attachment was scrubbed... Name: RoundCubeMail_NewUnreadMail.png Type: image/png Size: 74816 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20201219/d5489c5c/attachment-0001.png>