[imp] mailbox overquota and move to trash -> something to improve?

francis picabia fpicabia at gmail.com
Tue Mar 6 20:32:08 UTC 2012


On Tue, Jan 31, 2012 at 3:36 AM, LALOT Dominique <dom.lalot at gmail.com> wrote:
> 2012/1/27 Andrew Morgan <morgan at orst.edu>
>
>> On Fri, 27 Jan 2012, LALOT Dominique wrote:
>>
>>  2012/1/27 Michael M Slusarz <slusarz at horde.org>
>>>
>>>  Quoting ANANT S ATHAVALE <asa at isac.gov.in>:
>>>>
>>>>  ----- Message from LALOT Dominique <dom.lalot at gmail.com> ---------
>>>>
>>>>>  Date: Thu, 26 Jan 2012 09:10:52 +0100
>>>>>  From: LALOT Dominique <dom.lalot at gmail.com>
>>>>> Subject: Re: [imp] mailbox overquota and move to trash -> something to
>>>>> improve?
>>>>>    To: imp at lists.horde.org
>>>>>
>>>>>
>>>>>  2012/1/26 LALOT Dominique <dom.lalot at gmail.com>
>>>>>
>>>>>>
>>>>>>  Hello,
>>>>>>
>>>>>>>
>>>>>>> I'am faced to some students being unable to delete their mails because
>>>>>>> they are overquota.. I changed to simply flag deleted but users
>>>>>>> complained.
>>>>>>> I red articles on the net and there is no way to move and not copy,
>>>>>>> then
>>>>>>> delete which cause the problem.
>>>>>>> So, when having an error such as overquota, could horde simply flag
>>>>>>> mail
>>>>>>> as deleted, then the user will be able to delete mails without any
>>>>>>> assistance..
>>>>>>> Is it difficult to do?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>>
>>>>>>>  May be the solution could be to use virtual trash, but I don't
>>>>>>>
>>>>>> understand
>>>>>> how to do that using prefs.php. Looking in database, the data is
>>>>>> binary..
>>>>>>
>>>>>>
>>>>> Ask the users not to use Trash folder temporarily using their preference
>>>>> option.  So, they get option to delete which makes them 'mark as
>>>>> deleted'
>>>>> and ask them to purge.
>>>>>
>>>>>
>>>> This was actually technically impossible until RFC 5530 defined an
>>>> OVERQUOTA response code.  I've just added code to IMP 5.1 that will
>>>> workaround this issue by permanently deleting the messages instead of
>>>> moving to Trash.  However, this is entirely dependent on the IMAP server
>>>> (I
>>>> think Dovecot supports it).
>>>>
>>>> Alternatively, use a IMAP server that supports "soft" quotas.
>>>>
>>>>
>>>>  OK, I will see in that direction. Any hard things that thousand of
>>> students
>>> need to do, lead to heavy support. So we need to automate..
>>> We have cyrus imap
>>>
>>
>> The Virtual Trash folder is a great option.  We removed the regular Trash
>> folder option here to prevent our users from complaining later.
>>
>>        Andy
>>
>
> Hum.. There is no empty trash action. I feel this is not easy for users.
> And I don't know what value to put in prefs.php  to use virtual trash. The
> binary data in database will be a nightmare. phpmyadmin does not show
> something.
>
> Dom
>
> --
> Dominique LALOT
> Ingénieur Systèmes et Réseaux
> http://annuaire.univmed.fr/showuser.php?uid=lalot
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org

The Trash problem is too much problem in IMP 5.

1. Automatic purge of trash is broken - doesn't empty trash at monthly
time, nor on log out trigger.
2. Users can not find how to empty trash, or maybe do not know it is filling.
3. Virtual Trash folder is broken in my version (5.0.9).

What we are doing:

1. Use preference of marking as deleted rather than trash.

2. Use "quotawarn: 90" in cyrus config imapd.conf for warning to user
(soft quota)

3. Comment out Select All checkbox so people can not accidentally select
inbox and purge (click and shift click are better options for selecting
a group of messages).

In  imp/templates/dimp/index.inc, near line 532, comment out the Select All:

<!--   <div class="iconImg msCheckAll msCheck" title="<?php echo
_("Select All") ?>"></div> -->

In my opinion, the Select All checkbox was a left over from the old
IMP which displayed inbox in pages.


More information about the imp mailing list