Sieve \\Seen flag actions not replicated

John Capo jc at irbs.com
Mon Jan 1 19:20:45 EST 2007


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




More information about the Cyrus-devel mailing list