2 messages in net.sourceforge.lists.courier-users[courier-users] (no subject)
FromSent OnAttachments
Pascal DrouillyOct 6, 2000 9:29 am 
Pascal DrouillyOct 6, 2000 9:31 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] (no subject)Actions...
From:Pascal Drouilly (pasc@yahoo.com)
Date:Oct 6, 2000 9:31:06 am
List:net.sourceforge.lists.courier-users

Hi Sam,

I absolutly need a response to these questions, I will reply to your previous answer:

1- why the files in the trash do not count toward the maildirsize ?

Some mail clients delete mail by moving it to Trash. If you're over quota you want to unlock the account by deleting mail.

your answer is from the point of view of the client but it's on the server that I see the problem, in 'imapd'. When I test, I see that as soon as I move a file from a folder to the thrash, the quota is updated. (file size removed, the doc maildir/README.maildirquota.txt say it all) But if the files in trash do not count, I will never be over quota and no need for unlocking the account. I could maliciouly put 100GB of thing in trash, at least temporaly.

2- why file flaged 'T' (deleted) do not count toward the maildirsize ?

Some mail clients delete mail by marking the message as deleted, without expunging the folder. The folder gets expunged after a certain number of messages are deleted. If you're over quota you want to unlock the account by deleting mail.

same goes here. I don't care about the client, I want to build a robust server, With enforced quota, independently of the way client handle their trash (litteraly ;-)

To quote a previous unanswer question I made:

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...clutter the code.

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 ?

I'm awaiting answer, 'cause in courier it's easy to fix thing, but the patch 'qmail-ldap' is a mess ('cause of qmail). I like "Maildir" mailbox, and the extention for quota fit our need except this peculiar behavior. I'm sure I'm missing someting, the philosophy behind theses choices.

thanks Pascal