Reconstruct a downgrade?
Andrew Morgan
morgan at orst.edu
Mon Apr 14 17:07:07 EDT 2014
On Mon, 14 Apr 2014, Charles Bradshaw wrote:
> 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
I sure would try to get Cyrus v2.4.17 to compile. v2.3 is very old... We
would be happy to help you compile v2.4.17 on CentOS 6.5. Alternatively,
there are Source RPMs available at:
http://www.invoca.ch/pub/packages/cyrus-imapd/
Andy
More information about the Info-cyrus
mailing list