[Dovecot] Quota handling on NFS Maildir
mikkel at euro123.dk
mikkel at euro123.dk
Mon Mar 10 23:03:15 EET 2008
> On Fri, 2008-02-22 at 11:52 +0100, mikkel at euro123.dk wrote:
>
> The maildirsize gets recalculated. So even if Dovecot completely screws
> up updating the maildirsize file, users shouldn't see "quota exceeded"
> errors unless the recalculation is also broken.
>
> Is anything else than Dovecot delivering mails to the maildir?
>
Nothing else is accessing the Maildir.
A few days ago I changed the LDA conf to use INDEX=MEMORY in order to make
some performance tests.
Besides actually working faster in my setup this also made the quota
problems go away.
I only made this change for the LDA. IMAP and POP3 are still using index
files normally (on NFS).
The quota issue was turning into quite an annoyance since some users had a
lot of trouble with this. So I'm glad this works for me even though the
problem isn't really solved.
Maybe the LDA was locking for a long time while updating indexes. And
maybe this resulted in the POP process being unable to access the
Maildir file if the user was checking mail at the same time of a delivery?
Now that I think of it I was regularly seeing files like ".nfsC164601"
left in the maildir and I assume these are related to locking?
Just guessing here but it's kind of odd why it works now if it's not
locking related.
Regards, Mikkel
More information about the dovecot
mailing list