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

Edgar Pettijohn edgar at pettijohn-web.com
Sun Aug 9 18:58:47 UTC 2015



On 08/09/15 13:36, Benny Pedersen wrote:
> Paul Hoffman skrev den 2015-08-09 20:20:
>
>>    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?
>
> nope, you have to tell dovecot auth backend more how to write to 
> homedir of 'id proffprop'
>
> uid and gid does not match
>
> as i read it, proffprop have uid 1001 and dovecot tryed to write to 1013
>
> search that error and solve it
There are prob. a lot of ways around this, but the easiest would most 
likely be something like:
# chmod o+w /home/phoffman


More information about the dovecot mailing list