[Dovecot] Problems with the fs-quota plugin on delivery stage

Kostik koc at fax.ru
Mon May 17 16:02:40 EEST 2010


Kostik wrote:
>>> Just noticed a strange behavior of the FS quota plugin on delivery stage.
> Is there anyone know? This log message...
> 
>> May 12 20:01:47 dovecot: deliver(xxxx at xxxxx.xxxx): quota-fs: gid=5751796,
>> value=8409088, limit=10485760, active=1
> 
> shows "value=8409088" before or after delivery?

I think I localized the problem:

When dovecot deliver create temp file (from here
./src/lib/istream-seekable.c), then it create temp file in users homedir.
If users homedir under fs-quota then used space growing. Then when deliver
tries to deliver this msg in INBOX, quota plugin return used space already
WITH temp file. But it is not correct, because the message size is taken
into account twice.

Timo or someone else: how to change the location for creating temporary
files and to avoid such deliver behavior?


=kostik


More information about the dovecot mailing list