Tiring of running fixup scripts to keep seen state consistent, I decided to find the problem. In imap/lmtpd.c:
sync_log_append(mailboxname);
+
+ if (nflags && user && !strncmp("user.", mailboxname, 5) &&
!strncmp(mailboxname + 5, user, strlen(user)))
+ sync_log_seen(user, mailboxname);
}
The strncmps insure that the seen state is updated only for the
user that owns the mailbox. Are they neeed?
Happy New Year!
John Capo
Tuffmail.com
