Re: Quota plugin creates IMAP folder

2018-01-25 Thread Thorsten Hater
Thanks for picking this up and for the hints. Sadly the version I am running is slightly too old for VOLATILEDIR and stat is not an option for performance reasons, if I am reading the documentation correctly. Best regards, Thorsten On Wed, Jan 24, 2018 at 1:51 PM, Aki Tuomi wrote: > As workarou

Re: Quota plugin creates IMAP folder

2018-01-24 Thread Aki Tuomi
As workaround, you can either use VOLATILEDIR setting for maildir, or you can set maildir_stat_dirs=yes in config. Aki On 24.01.2018 14:45, Aki Tuomi wrote: > > Ah seems you have found a bug, apologies. =) > > We'll look into it. > > Aki > > > On 24.01.2018 13:34, Thorsten Hater wrote: >> Well,

Re: Quota plugin creates IMAP folder

2018-01-24 Thread Aki Tuomi
Ah seems you have found a bug, apologies. =) We'll look into it. Aki On 24.01.2018 13:34, Thorsten Hater wrote: > Well, I have to scrub most data from the output, but it is what I > would have expected > > # doveadm user > field    value > ... > home    /path/to/home > mail    maildir:~/Maildi

Re: Quota plugin creates IMAP folder

2018-01-24 Thread Thorsten Hater
Well, I have to scrub most data from the output, but it is what I would have expected # doveadm user fieldvalue ... home/path/to/home mailmaildir:~/Maildir ... On Wed, Jan 24, 2018 at 12:30 PM, Sami Ketola wrote: > > > > On 24 Jan 2018, at 13.21, Thorsten Hater > wrote: > > > > Th

Re: Quota plugin creates IMAP folder

2018-01-24 Thread Sami Ketola
> On 24 Jan 2018, at 13.21, Thorsten Hater wrote: > > This is from my config > > mail_location = maildir:~/Maildir > > and in my userdb-ldap.conf > > user_attrs = \ > ... \ > =home=%{ldap:homedir}, \ > ... > > Am I missing something? So what does "doveadm user " then return as home?

Re: Quota plugin creates IMAP folder

2018-01-24 Thread Thorsten Hater
This is from my config mail_location = maildir:~/Maildir and in my userdb-ldap.conf user_attrs = \ ... \ =home=%{ldap:homedir}, \ ... Am I missing something? On Wed, Jan 24, 2018 at 12:12 PM, Aki Tuomi wrote: > This is a configuration issue, not a bug. > > use > > mail_home=/path/to/so

Re: Quota plugin creates IMAP folder

2018-01-24 Thread Aki Tuomi
This is a configuration issue, not a bug. use mail_home=/path/to/some/directory mail_location=maildir~/Maildir that is, make sure the mail location is under mail home (even for virtual users). Aki On 24.01.2018 13:03, Thorsten Hater wrote: > Hi everyone, > > I have noticed recently that Dove

Quota plugin creates IMAP folder

2018-01-24 Thread Thorsten Hater
Hi everyone, I have noticed recently that Dovecot creates lock directories under users' Maildirs which look like IMAP folders. This is bad since users will see IMAP folders that are not supposed to be there. In my logs I see dovecot: imap(...): Error: file_create_locked(/.../Maildir/.vsize.lock)