[Tickets #5470] move to trash + over quota can result in lost messages

bugs at bugs.horde.org bugs at bugs.horde.org
Sun Jun 17 07:05:37 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5470
-----------------------------------------------------------------------
 Ticket             | 5470
 Created By         | cbs at cts.ucla.edu
 Summary            | move to trash + over quota can result in lost messages
 Queue              | IMP
 Version            | 4.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


cbs at cts.ucla.edu (2007-06-17 00:05) wrote:

If IMP is configured to move deleted messages to the trash and an account
is over quota, it's not possible to undelete.

In lib/Message.php, starting at line 203.  If imap_mail_move() returns
false, IMP loops over the messages to be deleted, downloads the message
headers, marks the original messages for deletion and expunges them, and
then uploads the headers to the Trash folder.

The message bodies and any attachments are never downloaded, so if a
person is at quota, selects a number of messages to delete, and tries to
move them to the trash, the body of every message moved to the trash is
lost.



More information about the bugs mailing list