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

Paul Hoffman phoffman at proper.com
Sun Aug 9 18:20:57 UTC 2015


On 9 Aug 2015, at 8:46, Benny Pedersen wrote:

> Paul Hoffman skrev den 2015-08-09 17:40:
>
>> Initializing mail storage from mail_location parameter failed: mbox:
>> mbox root directory can't be a file
>>
>> Which bit am I missing here?
>
> sudo doveadm import -u Foo mbox:/home/phoffman/project1/ "Project 1" 
> all
>
> untested

When I try this:

    Fatal: Import namespace initialization failed: Initializing mail 
storage from mail_location parameter failed: 
mkdir(/home/phoffman/project1) failed: Permission denied 
(euid=1013(phoffprop) egid=1013(phoffprop) missing +w perm: 
/home/phoffman, dir owned by 1001:1001 mode=0755)

Does this error indicate that it is trying to write to the mbox file 
instead of reading it? If so, why?

--Paul Hoffman


More information about the dovecot mailing list