On Fri, 2008-11-28 at 12:16 +0100, Bardur Haskor wrote: > HiWe need to track exactly when our users read messages. > Unfortunately, I haven't been able to figure out how we can achieve > this with Dovecot. Then I saw the mail_log plugin.Is it possible to > extend the plugin to also log system flag changes? This would be > great, because then we could see in the log files when the Seen flag > has been set. Changes in user defined flags would also be interesting > to track.I know this would create a lot of log entries, but for us > this wouldn't be a problem. Maybe the plugin would default to not > tracking flag changes, but could be configured to do so.
I added this code to v1.2 now. There you can use: mail_log_events = delete undelete flag_change mail_log_fields = uid box msgid flags And it logs like: imap(tss): Info: flag_change: uid=125823, flags=(\Answered foo), msgid=<f...@bar.org>
signature.asc
Description: This is a digitally signed message part