[dev] virtual trash folder

Todd Merritt tmerritt at email.arizona.edu
Mon Oct 20 11:38:47 PDT 2003


I had a thought the other day.  One problem that we have here with the
use of trash folder is that when people are close to their quota, they
cannot delete messages due to the temporary need for 2 copies of the
message in their mailbox.  In the imp head there is a workaround which
fixes it for most cases, but if a user is already over their quota
(since in our case, cyrus will deliver the message as long as they are
below their quota even if it puts them over their quota after delivery)
and tries to delete a message which would not put them below their
quota, the message would be lost since the original is already deleted
and there isn't room to store the copy.  The idea that I had was to
create a virtual folder or virtual folder tree that symbolically
contained messages with certain flags (ie deleted), and those messages
would not be displayed in their real folder.  This would require adding
some abstraction to the imp folder api.  I know, "show me some code",
but does this sound like a worthwhile endeavor ?

Todd



More information about the dev mailing list