Thank you a lot Timo, I think it solved my problem. I set up an SQL dict.
But according to the documentation, Dovecot is decreasing number of bytes and number of messages from row, but in my case, it sums up (I have the total number of bytes and the total number of messages in table). Is it OK ?
Can you (briefly) explain why Maildir++ quota is not working well in this case ?
Thank you again.
On Wed, Aug 20, 2014 at 2:22 PM, Timo Sirainen tss@iki.fi wrote:
On 13 Aug 2014, at 10:24, Florent Bautista bautista.florent@gmail.com wrote:
I have a little problem with Dovecot 2.1.17 and MailDir accounts.
I was using a shared file system (MooseFS), and all was pretty stable.
Now I'm switching to CephFS, and Dovecot LMTP have problem to deliver mails.
Very often, on large accounts, LMTP processes are running for a few hours before delivering the message.
When I strace it, I can see that they are reading (open and stat operations) ALL the messages of the account.
You didn't provide doveconf -n output, but I'm guessing the problem is Maildir++ quota. Switch to dict-file quota and the problems should go away. http://wiki2.dovecot.org/Quota/Dict