Headache moving from Cyrus 2.1 to 2.2

Adam Tauno Williams awilliam at whitemice.org
Mon Jan 24 07:29:24 EST 2011

On Mon, 2011-01-24 at 12:19 +0100, Raimund wrote: 
> Hi there,
>  I am having a quite hard time moving my cyrus imapd installation away 
>  fom a SuSE 11.1 box (i586) to Ubuntu server 10.04 (x86_64). I have hopes 
>  that someone here might be able to help me?:
>  I copied the complete cyrus config & data to the new box. Running 
>  service cyrus2.2 start only produces lots of error messages in 
>  /var/log/mail.err:
>  Jan 24 12:12:22 callisto cyrus/lmtpunix[4430]: DBERROR: opening 
>  /var/lib/imap/deliver.db: Invalid argument
>  Jan 24 12:12:22 callisto cyrus/lmtpunix[4430]: DBERROR: opening 
>  /var/lib/imap/deliver.db: cyrusdb error
>  Jan 24 12:12:22 callisto cyrus/lmtpunix[4430]: FATAL: lmtpd: unable to 
>  init duplicate delivery database

Just delete duplicate.db; it will regenerate anyway.  Several of the
Cyrus databases are disposable [kept around for performance and feature
reasons] and delivery is one of those.

> I tried to convert deliver.db to skiplist a while ago, not sure whether 
>  that was successful in any way, because the next error hit me right 
>  away, so I started over (with a new copy of the config in 
>  /var/lib/imap). Can someone here instruct me what exactly to do to 
>  migrate my mail to the new box? I add some config information below.

More information about the Info-cyrus mailing list