[Dovecot] Extracting mbox format from Dovecot IMAP (mdbox)
Timo Sirainen
tss at iki.fi
Mon Mar 12 15:19:43 EET 2012
On Mon, 2012-03-12 at 13:09 +0000, Giles Coochey wrote:
> Hi,
>
> I'm looking for a quick tool that can connect to my IMAP account grab
> all the messages in a particular folder and dump them to a mbox format file?
>
> Anyone know a quick easy tool to do that?
>
> This is a spam folder that I'd like to do some Bayes spam learning on,
> but since I've migrated to mdbox I don't think I can do this directly on
> the mailbox.
>
> Any thoughts appreciated.
With v2.0: dsync -m spam backup mbox:~/mbox-mails/
There are also doveadm move and doveadm import commands that can do
this.
More information about the dovecot
mailing list