[Dovecot] FOLDER INTERNAL DATA (uw pine header)
Charles Gregory
cgregory at hwcn.org
Fri Jan 23 22:35:58 EET 2009
On Fri, 23 Jan 2009, Timo Sirainen wrote:
>> I run Dovecot on CentOS 4 (dovecot-1.1.4-0_81.el4), and I *also* run the
>> "Alpine" mail system...
> Dovecot writes the pseudo message when the mailbox is emptied (all
> messages are expunged).
Hmmmm. It looks like *some* of my users are having their *old*
pseudo-message left in place even after they have read and expunged.
If this is a concern to you, I will do some tests to verify....
But even if it works as described above, it would not be a consistent
timestamp of when someone last read their mailbox. It looks like dovecot
updates the ~/mail/.imap/INBOX/dovecot.index.log with each read, even
via pop3, so I should be okay using that.... I can then just use a snip
of code to check whether that file or the pseudo-message from Alpine is
'newer'.....
> Maybe the difference is that Alpine writes the pseudo message also when
> creating the mailbox (or when selecting the created empty mailbox).
Alpine actually updates the message with each read. In particular, it
updates the "X-IMAP:" line.....
> I guess Dovecot could do that too then.. but I don't really want to
> waste time on writing that code.
Not a problem. I think that timestamp will do the trick.
Thanks!
- Charles
More information about the dovecot
mailing list