On Sab, 18 Nov 2000, Sam Varshavchik wrote:
as I can recall, someone on this list mentioned that removing file
maildirsize will disable quota on that maildir, however, the document
states that maildirsize will be recreated during quota calculation, so
only removing it is rather useless to me.
maildirsize is recreated during quota calculation. If maildirsize does
not exist, there is no quota to recalculate in the first place.
this is from README.maildirquota.txt:
4. When done, you have the grand total of the number of messages
and their total size. Create a new maildirsize by: creating the file
in the tmp subdirectory, observing the conventions for writing to a
Maildir. Then rename the file as maildirsize.Afterwards, stat all new and
cur subdirectories again. If you find a timestamp later than the saved
timestamp, REMOVE maildirsize.
this is the part that confused me, why should we remove maildirsize at all?
FYI, i'm in the process of creating some perl modules for maildir++...
To avoid reinventing the wheel you should simply create Perl bindings for
the respective quota functions in libmaildir.a
i'd love to, however, the modules are almost done in pure perl, it would
require more time to update it to use libmaildir.a...