[imp] Batch import mbox files into individual folders

Oscar del Rio delrio at mie.utoronto.ca
Mon Apr 28 13:52:33 UTC 2014


On 04/28/14 09:08 AM, Administrator BCS wrote:
> Citeren "Mauricio Jose T. Tecles" <mtecles at biof.ufrj.br>:
>
>> ----- Mensagem de adje at bezoekerscentrumsonsbeek.nl ---------
>>     Data: Sun, 27 Apr 2014 17:55:40 +0000
>>     De: Administrator BCS <adje at bezoekerscentrumsonsbeek.nl>
>>  Assunto: [imp] Batch import mbox files into individual folders
>>       Para: imp at lists.horde.org
>>
>>
>>> We are migrating from Openwebmail to Horde. Some of our users made a 
>>> lot of
>>> subfolders in their Openwebmail account over the years, up to 250 
>>> per user.
>>> We need to transfer them all to Horde. Mail folders are stored by
>>> Openwebmail as individual mbox files for each folder so they import 
>>> into
>>> Horde without problems.
>>>
>> Mail folders are not Horde files. Horde uses your system backend to 
>> deal with your mail folders and INBOX. In other words, Horde uses 
>> your IMAP or POP server (for exemple: Dovecot). For example, I use 
>> Debian with Dovecot.
>
> Yes I am aware of that. I use Dovecot, mysql and a virtual Maildir 
> system. When I create a subfolders in Horde I see it showing up as 
> (.hidden) folders in the vmail system. So my initial idea was to use 
> mb2md to convert the mbox files to maildir format, create .subfolders 
> in the vmail file system and copy the converted mbox files to them.
>

You need to use Dovecot tools to create/migrate the folders. Not 
IMP/Horde and not just creating folders with "mkdir" either.
You might want to join the Dovecot mailing list, after learning a bit 
more about dovecot tools, e.g. http://wiki2.dovecot.org/Tools/Doveadm



More information about the imp mailing list