How to import an mbox to an existing user as a new mailbox

Paul Hoffman phoffman at proper.com
Mon Aug 3 13:56:11 UTC 2015


On 2 Aug 2015, at 23:27, Steffen Kaiser wrote:

> On Sun, 2 Aug 2015, Paul Hoffman wrote:
>
>> Greetings. I have a bunch of mbox files that I want to import to an 
>> existing user, each into a new mailbox. That is, I want to import the 
>> file project1.mbox to user Foo, into a newly-created mailbox called 
>> "Project 1". Is there a dovecot tool to do this on the server?
>
> do you have access to the file system of the mail storage? Can you 
> call doveadm on the server? What mail storage do you use now, Maildir, 
> mbox, ... ?

Sorry for being unclear earlier. Yes, yes, mbox.

So, I take it this is a doveadm command. :-) Will this be just "import", 
or a combination of "mailbox" and "import"?

--Paul Hoffman


More information about the dovecot mailing list