I'm developing an application that needs to track when email messages are read by users. Do you know how this can be achieved with Dovecot, or other email servers (Cyrus, Courier etc.)?
If I use the maildir format, then I can see if a message is read, by checking if the message is located in the "new" or "cur" folder, or by looking at the Seen flag. But I can't figure out how to see when the message is read.
I thought that if the message was located in the "cur" folder, then I could just look at when the file was last modified to see when it was read/downloaded, but Dovecot changes the last modified field, so that it reflects when the message was received and not when the file was modified :-(
Any help or hints would be greatly appreciated.
If I use the maildir format, then I can see if a message is read, by checking if the message is located in the "new" or "cur" folder, or by looking at the Seen flag. But I can't figure out how to see when the message is read.
I thought that if the message was located in the "cur" folder, then I could just look at when the file was last modified to see when it was read/downloaded, but Dovecot changes the last modified field, so that it reflects when the message was received and not when the file was modified :-(
Any help or hints would be greatly appreciated.