[Dovecot] Mailbox conversion/importing - SOLVED

Alan Brown ajb2 at mssl.ucl.ac.uk
Mon Jun 10 16:21:33 EEST 2013


On 10/06/13 12:03, Alan Brown wrote:
>
> I've been tasked with importing a large bunch of mbox folders (about
> 500) into an existing mdbox setup in Dovecot 2.1
>
> As far as I can see, dsync "mirror" or "backup" are both inappropriate
> ways of doing this. Does anyone have any suggestions about how I could
> proceed?

I've finally discovered doveadm import.

In this instance:  doveadm -Dv import -u [user]  mbox:/full/path/to/mbox 
old-mbox all


Relative paths don't work. :)






More information about the dovecot mailing list