[Dovecot] IMAP to Maildir Migration preserving UIDs?

Timo Sirainen tss at iki.fi
Fri Jan 27 02:06:22 EET 2012


On 27.1.2012, at 2.00, Gedalya wrote:

>>> # doveadm -o imapc_user=gedalya at thisdomain.com -o imapc_password=***** backup -u gedalya at thisdomain.com -R imapc:
>>> Segmentation fault
>> gdb backtrace would be helpful. You should be able to get that by running (as root):
>> 
> 213    mailbox-log.c: No such file or directory.
>    in mailbox-log.c
> (gdb) bt full
> #0  mailbox_log_iter_open_next (iter=0x80cbd90) at mailbox-log.c:213
> No locals.
> #1  0xb7fa7dd4 in mailbox_log_iter_init (log=0x0) at mailbox-log.c:239
>        iter = 0x80cbd90
> #2  0x0806ffd3 in dsync_worker_get_list_mailbox_log (list=0x80b6180, worker=0x80c3138) at dsync-worker-local.c:316

Ah, right, dsync really wants index files. Of course it shouldn't crash, I'll fix that, but you should be able to work around it:

rm -rf /tmp/imapc
doveadm -o imapc_user=USERNAME -o imapc_password=PASSWORD backup -R imapc:/tmp/imapc




More information about the dovecot mailing list