[Dovecot] dovecot imap permission denied

Timo Sirainen tss at iki.fi
Wed Aug 31 09:52:07 EEST 2011


On 31.8.2011, at 9.47, Daminto Lie wrote:

> Thanks a lot Timo,
> 
> Creating directories for new users is not an issue. It's the permission that makes me headache.

The error message you showed said that the user's home directory didn't exist, and the permission problem came only because it didn't exist and Dovecot tried to create it.

> I tried the following
> 
> sudo chmod o-r /home/$USER
> sudo chmod g+rw /home/$USER
> 
> It did not work until I did chmod 777 /home.

Right, because only then did it have enough permissions to create the home dir.

> Is it safe to make home directory with permission 777?

No.




More information about the dovecot mailing list