Yup. I believe I brought this up a little while back. It appears that once
the maildirsize file is set (using the initial quota value at that time),
the value in the file always overrides the value specified in Exims config
file.
Aside from changing how maildirsize files are used internally in Exim, there
is no fix for this. I at first wanted to use maildirsize files to help with
quick quota calculation, but had to abandon it due to this issue. I've now
switched to adding an ,S=<size> to the filenames and using the quota regex
thing to calculate file sizes (clients do not have access to the system,
thus I can trust the filename).
Not sure how performance goes, since I have not yet put this into a
production/stress test scenario. I think it might be as good as
maildirsize, if not better since if your users make lots of email checks and
delete messages, the maildirsize file will be recalculated quite a bit. I'd
actually think that on a heavy use system, it might actually be better to
not use maildirsize files since they'd be recalculated so frequently.
Eli.
-----Original Message-----
From: exim-users-admin@??? [
mailto:exim-users-admin@exim.org] On Behalf
Of Mike Sturdee
Sent: Thursday, February 05, 2004 9:19 AM
To: exim-users@???
Subject: [Exim] maildirsize not recalculating
When maildir_use_size_file, it creates the maildirsize file with the
quota, but it never recalculates this file as per spec. If the quota value
changes in the transport, the maildirsize file is never updated to reflect
this.
------------------------------
http://inter7.com/courierimap/README.maildirquota.html
Calculating the quota for a Maildir++
.....
4. If the numbers we got indicated that the Maidlir++ is over quota,
some additional logic is in order: if we did not recalculate maildirsize,
if the numbers in maildirsize indicated that we are over quota, then if
maildirsize was more than one line long, or if the timestamp on
maildirsize indicated that it's at least 15 minutes old, throw out the
totals, and recalculate maildirsize from scratch.
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##