On Fri, 2009-01-23 at 15:35 -0500, Charles Gregory wrote:
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'.....
The dovecot.index.log isn't modified unless something has actually changed.
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.....
Huh? What does it write there? It should update it only when there have been new messages, not on every read..