Reconstruct a downgrade?
Charles Bradshaw
charles.bradshaw at ntlworld.com
Mon Apr 14 16:41:35 EDT 2014
I'm trying to move my cyrus imap from Fedora 17 to Centos 6.5,
unfortunately the package versions of cyrus-imapd appear to be a
downgrade from version 2.4 to 2.3
I have copied /var/lib/imap and /var/spool/imap and the necessary /etc/.. conf files
cyrus-imapd appears to run correctly and I can connect a client (Evolution).
The clients mailboxes appear, but Evolution throws this error:
"IMAP command failed: Mailbox has an invalid format"
And /var/log/maillog has this messages:
...
Apr 14 16:03:55 dell2600-1 imaps[3058]: fetching user_deny.db entry for 'xxx at my.domain.com'
Apr 14 16:04:10 dell2600-1 imaps[3058]: Future index version: my.domain.com!user.xxx (12 > 10)
Apr 14 16:04:10 dell2600-1 imaps[3058]: fetching user_deny.db entry for 'xxx at my.domain.com'
After deleting cyrus.index, cyrus.header annd cyrus.cache from the user xxx at my.domain.com inbox directory
and a reconstruct -r user/xxx at my.domain.com mail boxes and messages are restored successfully.
But there are now thousands of, presumably, previously deleted messages and the 'seen', 'replied' etc flags
are gone!
Is there a way to reconstruct the necessary db files so that I don't loose the flags?
I tried a build from source of a later version but failed with dozens of compiler errors!
Thanks in advance, Charles Bradshaw
More information about the Info-cyrus
mailing list