Problems Converting from Cyrus to Dovecot (cyrus2dovecot)

Mauricio Tavares raubvogel at gmail.com
Wed Nov 4 22:19:22 UTC 2015


On Nov 4, 2015 2:48 PM, "Forrest" <those.lists at gmail.com> wrote:
>
> I have been attempting to use the cyrus2dovecot script, to no avail.
>
> I have many years of content that I want to convert from Cyrus to
Dovecot; with the above not working, what are other options out there?
Another idea I had is simply set up another IMAP server (using Dovecot) and
drag-and-drop and just wait, which I may end up doing.
>
> In the above, I copied over my entire /var/imap and /var/spool/imap to
another system; there is only one account (mine), so calling the script was
fairly easy; it just doesn't work.
>
>
> inboxes=the "myaccount" that was copied over
>
> /home/myaccount/cyrus2dovecot --cyrus-inbox /home/myaccount/inboxes/%u
 \
>                   --cyrus-seen /home/myaccount/varimap/user/%h/%u.seen
\
>                   --cyrus-sub /home/varimap/user/%h/%u.sub      \
>                   --dovecot-inbox /home/myaccount/dovecot/Maildir \
>                   myaccount
>
>
>
> the log output complains of:
>
>     cyrus2dovecot [myaccount]: (warning) Index record missing for:
INBOX/62020.
>
> and correctly complains about squat indices, as that's not a file it
would handle.  There is no output into the Maildir, however.
>
> All directory paths are correct.
>
>
> Thanks.

      I've never used cyrrus, so I wonder if what the script does is create
new index and rename the files containing email. Which leads to filename
convention. What I do know is that the times I had issues with indexes, I
just deleted the index file and let Dovecot create a new one.


More information about the dovecot mailing list