[Dovecot] Extracting mbox format from Dovecot IMAP (mdbox)

Timo Sirainen tss at iki.fi
Mon Mar 12 15:39:43 EET 2012


On Mon, 2012-03-12 at 13:37 +0000, Giles Coochey wrote:
> >> 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.
> >
> >
> OK, That would do a mailbox called spam no?
> I have a normal user who has an IMAP folder called 'Junk E-mail'
> 
> Is there a similar syntax?

Yeah, the -m parameter just specifies the mailbox name. So:

dsync -m 'Junk E-mail' backup mbox:~/mbox-mails/

If different accounts have different names, then I guess you'll just
have to run dsync twice with each name.





More information about the dovecot mailing list