[Dovecot] cyrus2courrier mass migration

Mathieu Kretchner mathieu.kretchner at sophia.inria.fr
Wed Sep 24 17:16:48 EEST 2008


Mathieu Kretchner a écrit :
> Holger Weiss a écrit :
>> * Mathieu Kretchner <mathieu.kretchner at sophia.inria.fr> [2008-09-23 12:59]:
>>> Holger Weiss a écrit :
>>>> However, for our conversion, we've written our own "cyrus2dovecot" which
>>>> also supports skiplist databases (amongst another few features not
>>>> provided by the other tools):
>>>>
>>>> 	http://cyrus2dovecot.sw.fu-berlin.de/
>>> I've tried this one too and I'm stuck too :
>>>
>>> [root at test testimap]# ./cyrus2dovecot -C /root/Mail/%u  -D dovecot-mail/ mketchn
>>>
>>> cyrus2dovecot [mketchn]: (error) No Cyrus INBOX at: /root/Mail/mketchn
>>>
>>> [...]
>>>
>>> But I'm sure cyrus.header and cyrus.index exist.
>> Are you really sure?  That is, the following commands don't complain?
>>
>> 	$ ls /root/Mail/mketchn/cyrus.header
>> 	$ ls /root/Mail/mketchn/cyrus.index
>>
>> Holger
> 
> Sorry for the noise it was my fault : mkretchn and not mketchn :
> 
> ./cyrus2dovecot -C /root/Mail/%u -S ../seendir/%u.seen -U
> ../seendir/%u.sub -D dovecot-mail/ mkretchn
> cyrus2dovecot [mkretchn]: 7619 messages in 52 folders (168.4 MiB, 25 s)
> 
> great but I still have all my e-mail unseen (maybe mkretchn.seen is
> desynchronized, because I' working on a copy of my account) ! However
> reply, forward and TODO falgs (maybe more) are kept.
> 
> 
> Timo,
> 
> Is it enough for you ? I'm not familiar with gdb...
> 
> Starting program: /root/testimap/cyrus2courier-1.5.ts/src/cyrus2courier
> -vvv /root/Mail/ /root/Mail/dovecot-mail/ -e /root/seendir/m/ -d mkretchn
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00628b1a in strcmp () from /lib/libc.so.6
> (gdb) backtrace full
> #0  0x00628b1a in strcmp () from /lib/libc.so.6
> No symbol table info available.
> #1  0x08048fab in setfolder_seenfile ()
> No symbol table info available.
> #2  0x08049f76 in cydump ()
> No symbol table info available.
> #3  0x0804ab26 in traverse ()
> No symbol table info available.
> #4  0x0804b399 in main ()
> No symbol table info available.
> (gdb) info registers
> eax            0x31     49
> ecx            0xbfce92eb       -1076981013
> edx            0x0      0
> ebx            0x5      5
> esp            0xbfce92bc       0xbfce92bc
> ebp            0xbfce9308       0xbfce9308
> esi            0xbfce92eb       -1076981013
> edi            0x8c271a8        146960808
> eip            0x628b1a 0x628b1a <strcmp+10>
> eflags         0x10202  [ IF RF ]
> cs             0x73     115
> ss             0x7b     123
> ds             0x7b     123
> es             0x7b     123
> fs             0x0      0
> gs             0x33     51
I've compiled c2c with debuging symbols and here is more understandable
my backtrace :

(gdb) bt
#0  0x00628b1a in strcmp () from /lib/libc.so.6
#1  0x08048f8b in setfolder_seenfile (_sf=0xb7f4e008, _mailbox=0x997dcc3
"mkretchn",
    _uidvalidity=1204103732) at c2c.c:936
#2  0x08049f56 in cydump (path=0x804e1e0 "/root/Mail/mkretchn",
    dest=0x9973018 "/root/Mail/dovecot-mail/mkretchn/", is_root=1) at
c2c.c:660
#3  0x0804ab06 in traverse (cy_root=0xbfb2cb5e "/root/Mail",
    co_root=0xbfb2cb69 "/root/Mail/dovecot-mail", dir=0xbfb2cb98
"mkretchn") at c2c.c:359
#4  0x0804b379 in main (argc=862205238, argv=<value optimized out>) at
c2c.c:162

it's done with c2c-1.5-dev !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mathieu_kretchner.vcf
Type: text/x-vcard
Size: 258 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20080924/a028f3d1/attachment-0001.vcf 


More information about the dovecot mailing list