Well, this is an unfortunate problem with the way Dovecot works. It’s not particularly fond of running out of space If it can’t modify the control files or possible the index files, you can see the behavior you’re describing.
We were actually just discussing workarounds for this issue in a meeting last week… we’re looking into some ways to get around that.
However, in the meantime, the only real way of avoiding that would be to put the index and control files on a separate filesystem that doesn’t have quotas enabled.
In my installation, the control and index files actually do reside in a different directory than the ~/Maildir, namely /var/lib/dovecot-virtualmin/index/%u and .../control/... respectively.
Might that help, setting up different quotas for those directories?
Might that help, setting up different quotas for those directories?
Well, it indeed would, but that’s also the trick
With ext3, I don’t believe there’s a method to vary quotas for different directories on a given partition.
One way around that is to mount /var on a different filesystem/partition.
Another way I just ran into might be to setup a loopback filesystem just to hold Dovecot’s control/index files. One way of doing that is described here: