Hi! I have just migrated to a new IMAP server. For complicated reasons I migrated everybody's mail with imapsync rather than replication (long story addressed elsewhere on this list), and then moved the CNAME from the old server to the new server (having warned the users that they might need to clear cache). This worked OK in my testing on Thunderbird, Mutt, and OS X Mail, but a lot of my users are reporting various problems. (I can't replicate these myself in mutt, Thunderbird, or OSX Mail, mysteriously!)
I think I know conceptually how to handle these, but it's going to require messing with messages and folders on the command-line in ways I don't know how to do off the top of my head, so I thought I'd ask here and see if anybody has quick answers while I'm digging. TL;DR: Can somebody suggest ways *on the server command-line*, to: * list UIDs that are \seen * set the \seen flag on a list of UIDs (I can do my own UID translation) * list what folders a user is subscribed to * subscribe a user to a folder More detail below: The big problem is that all messages are showing up as new (without the \seen flag). I didn't see this in my own mail in testing, and \seen seems to (at least for some of us) have been synched as expected with messages; one person had the experience that when he first logged in, *on several different clients*, all the seen/unseen states seemed as expected, but after about half an hour all the messages started getting marked as new. This makes me think it might be a problem with some particular client getting confused by its cache and both seeing all messages as new and synching that state back to the server. Does that seem plausible? If that's the case, given that new mail has been delivered to the new server since the migration I think my only option is to find some way to manually copy \seen state for each message from the old server to the new server. I think I can figure that out for myself, and I have a cache of UID correspondences between the old and new server which makes it much easier, but if anybody has a pointer to a script or documentation about how to list \seen UIDs and set a particular UID \seen on the command line that could save me some time. Some of our users seem to have been unsubscribed from all their folders. (This *may* be all of them, given the variety of email clients and configurations, although I did try with a test account and it seemed to be subscribed to all folders after the sync.) So I'd like to be able to resubscribe users to (ideally) the folders they were subscribed to on the old server (or if that's hard just to all folders). Whee! Jay ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/Tfd3f0c9eaf7c89e8-M6cccd57fa41582faeecd2066 Delivery options: https://cyrus.topicbox.com/groups/info/subscription
