On 17.9.2012, at 16.40, Marcin Hłybin wrote:

> On 2012-09-17 15:30, Timo Sirainen wrote:
>> What's your mail_location setting? Note the "Permissions to new user
>> directories" in the wiki, especially the last paragraph. When Dovecot
>> doesn't know what permissions it should use, it defaults to 0700 to be
>> safe.
> 
> mail_location = maildir:~/Maildir
> 
> Maybe that's the point. What do you propose?
> I don't think I can use %d and %n as mentioned in documentation because in 
> mailbox path I have additional user_id directory. Home directory is retrieved 
> from database with this part: "CONCAT_WS('/', home, u.uid, d.domain_name, 
> u.user_name) AS home"

Then your current possibilities are:

a) mkdir + chmod the directory when a new user is created

b) change Dovecot sources

Reply via email to