16 Sep
2016
16 Sep
'16
6:50 p.m.
Hi all!
There is a script to convert maildir to mailbox in wiki: http://wiki.dovecot.org/Migration/MailFormat but it doesn't convert any message flags (seen e.t.c.).
I wrote a script, which converts most flags and labels: https://bitbucket.org/citrin/scripts/src/tip/dovecot-maildir2mbox.pl
It doesn't convert recent flag and UIDs though, because it was not necessary in my case.
Do you think link to the script should be added to dovecot wiki?
-- WBR, Anton Yuzhaninov
P. S. My use case was: get maildir from other server, convert to mbox, compress (gzip -9) and add to my mailbox as read-only archive.