Hi,
I got a response from this mailing list
about a question on quota in Maildir++
a long time ago.
I didn't understand the response posted,
more precisly, I don't think that it responded
to my question. No offence!
I will rephrase it.
thanks
---------------------------------------------
Question about quota in maildir++:
Why the mail in .Trash do not count in calculating
the size of your mailbox ?
I mean, they use space on the disk.
If, as an admin, I say max 10Mb, I mean it!
including whatever sub directory,
including .Trash, no ?
in the file included in courier_0.34:
'maildir/README.maildirquota.txt'
it say at the end:
"
Maildir++ readers should mind the following
additional tasks:
1. Make sure to create the maildirfolder file in any
new folders created within the Maildir++.
2. When moving a message to the Trash folder, append
a line to maildirsize, containing a negative
message size and a '-1'.
3. When moving a message from the Trash folder,
follow the steps described in "Delivering to
Maildir++", as far as quota logic goes.
That is, refuse to move messages out of Trash if
the Maildir++ is over quota.
4. Moving a message between other folders carries no
additional requirements.
"
Why .Trash so special ? whouldn't be easier if it was
a _standard_ folder ?
if you look in the source, everywhere their is
check/if for this special case...
Same with file flaged 'T'. They should count in the
quota until they get EXPUNGED.
Up until then, you consume byte on the disk,
part of your quota is used. simple.
Why file flaged 'T' so special ?
make them standard file for quota consideration,
and de-clutter de source code, no ?
now what do you think ?