[Dovecot] maildir-dbox hybrid

Roland Stuehmer r.stuehmer at gmx.de
Sun Nov 28 23:50:01 EET 2010

Am 25.11.2010 17:45, schrieb Timo Sirainen:
> On Thu, 2010-11-25 at 15:33 +0000, Timo Sirainen wrote:
>> Attached a program to de-maildirify a dbox. You have to run it
>> separately for each directory containing dbox-Mails:
> Minor update: it shouldn't warn about non-existing maildir files.

Hi Timo, list,

I tried the updated version of the program, but I got a number of
"Fatal" errors, see below.

After that I retuned to the previos method of using the patched dovecot
1.2.16, which (after some error I reported here) left me with a running
instance with only the recovered maildir messages. Together with an
instance with just the new dbox mails I used imapsync to merge them and
have all my mail in one place now. :)

$ gcc -g -Wall -I$DOVECOT -I$DOVECOT/src/lib
-I$DOVECOT/src/lib-storage/index/dbox-common -DHAVE_CONFIG_H
dbox-dehybrid.c -o dbox-dehybrid $DOVECOT/src/lib/.libs/liblib.a

$ find /var/spool/dovecot -name dbox-Mails -type d -exec ./dbox-dehybrid
{} \;
failed: No such file or directory
failed: No such file or directory



More information about the dovecot mailing list