Hello all, I'm trying to use UW's mailutil to migrate mbox files to Cyrus. When migrating to v2.1.15 this worked perfectly; read/unread/answered states were all transitioned from the mboxes to Cyrus. When migrating to v2.2.6, the states are not correct; in fact, the state of all of the messages in the newly migrated folder seem to be set to the state of the last message migrated.
For example, I have an mbox file called "/var/spool/mail/acaird" and a Cyrus v2.2.6 server named after the star "azah". /var/spool/mail/acaird has 7 messages in it; messages 1, 3, and 7 have been Seen, and message 7 has been Answered. Using mailutil like: mailutil copy -debug /var/spool/mail/acaird \ "{azah/novalidate-cert/authuser=admin/user=acaird}testfolder-1" creates a new folder called "testfolder-1" on the Cyrus server and copies the 7 messages into it. On the v2.2.6 server, the client reports all of the messages as having the state "Seen, Answered". The output from mailutil and the telemetry logs after the login steps are below. It appears as though the state information is being correctly read by mailutil and correctly received by Cyrus, but isn't being written to the seen database correctly. Performing this same operation on a Cyrus v2.1.15 server produces the same results in the telemetry logs, but when the mailbox is opened, the states are correct. The differences between the two Cyrus servers, other than version, are: v2.1.16 v2.2.6 altnamespace: no yes seendb format: flat skiplist Is this a known issue, or is there anything else I can do to gather information to track this down? Thanks for any help. -- Andrew Caird Output from mailutil, after the login steps: ----------------------------------------------------------------------- 00000005 Create testfolder-1 00000005 OK Completed 00000006 APPEND testfolder-1 (\Seen) "14-Jul-2004 08:36:49 -0400" {637} + go ahead () "14-Jul-2004 08:37:08 -0400" {637} + go ahead (\Seen) "14-Jul-2004 08:37:19 -0400" {637} + go ahead () "14-Jul-2004 08:48:46 -0400" {635} + go ahead () "14-Jul-2004 08:49:02 -0400" {641} + go ahead () "14-Jul-2004 08:49:13 -0400" {641} + go ahead (\Seen \Answered) "14-Jul-2004 08:49:27 -0400" {641} + go ahead 00000006 OK [APPENDUID 1089815290 1:7] Completed 00000007 LOGOUT * BYE LOGOUT received 00000007 OK Completed ----------------------------------------------------------------------- The output from the telemetry logs on the Cyrus side for the same session (with the message bodies and login steps removed for brevity) is: ----------------------------------------------------------------------- <1089815290<00000005 Create testfolder-1 >1089815290>00000005 OK Completed <1089815290<00000006 APPEND testfolder-1 (\Seen) "14-Jul-2004 08:36:49 -0400" {637} >1089815290>+ go ahead <1089815290< <1089815290< () "14-Jul-2004 08:37:08 -0400" {637} >1089815290>+ go ahead <1089815290< <1089815290< (\Seen) "14-Jul-2004 08:37:19 -0400" {637} >1089815290>+ go ahead <1089815290< <1089815290< () "14-Jul-2004 08:48:46 -0400" {635} >1089815290>+ go ahead <1089815290< <1089815290< () "14-Jul-2004 08:49:02 -0400" {641} >1089815290>+ go ahead <1089815290< <1089815290< () "14-Jul-2004 08:49:13 -0400" {641} >1089815290>+ go ahead <1089815290< <1089815290< (\Seen \Answered) "14-Jul-2004 08:49:27 -0400" {641} >1089815290>+ go ahead <1089815290< >1089815290>00000006 OK [APPENDUID 1089815290 1:7] Completed <1089815290<00000007 LOGOUT >1089815290>* BYE LOGOUT received ----------------------------------------------------------------------- --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html