Quota plugin creates IMAP folder
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) failed: Is a directory
The directory in question
ls /.../Maildir/.vsize.lock/
cur/ dovecot.index.log dovecot-uidlist maildirfolder new/ tmp/
so Dovecot seems to think this to be an IMAP folder.
I am using Dovecot 2.2.27 under Debian, built from source, the lock_method is set to fnctl, and the quota plugin uses the maildir method.
Can somebody advice me on how to fix this?
Best regards, Thorsten
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 <aki.tuomi@dovecot.fi> wrote:
participants (3)
-
Aki Tuomi
-
Sami Ketola
-
Thorsten Hater