evolution fails to delete message from trash

Bug #291145 reported by peternix
This bug report is a duplicate of:  Bug #64762: cannot empty virtual imap trash. Edit Remove
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Incomplete
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evolution

I have a mail message in trash. When I go to File->Empty Trash, nothing happens. When I press CTRL-E, nothing happens. The message remains. Running evolution in console reveals this message:

(evolution:21648): camel-local-provider-WARNING **: Didn't get the next message where I expected (0) got 15215 instead

(evolution:21648): camel-WARNING **: Error storing '~/.evolution/mail/local/Inbox (mbox)': Summary and folder mismatch, even after a sync

I have marked this as a security vulnerability because those who don't check their trash folder often, may suddenly see a pile-up of non-deleted messages with private information in them.

Description: Ubuntu 8.10
Release: 8.10

evolution:
  Installed: 2.24.1-0ubuntu2
  Candidate: 2.24.1-0ubuntu2
  Version table:
 *** 2.24.1-0ubuntu2 0
        500 http://us.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

Please help me to debug this problem so I can delete messages in my trash.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Tagged as a regression since Expunge works fine in Hardy.

Revision history for this message
okubax (xappeal) wrote :

same here. running evolution in console shows:

(evolution:12201): camel-CRITICAL **: camel_object_is: assertion `o != NULL' failed

(evolution:12201): camel-CRITICAL **: camel_store_get_folder: assertion `CAMEL_IS_STORE (store)' failed

(evolution:12201): camel-CRITICAL **: camel_object_is: assertion `o != NULL' failed

(evolution:12201): evolution-mail-CRITICAL **: mail_tools_folder_to_url: assertion `CAMEL_IS_FOLDER (folder)' failed
Reading RSS articles...
feed Engadget

(evolution:12201): camel-local-provider-WARNING **: Didn't get the next message where I expected (109734693) got 117217888 instead

(evolution:12201): camel-WARNING **: Error storing '~/.evolution/mail/local/Inbox (mbox)': Summary and folder mismatch, even after a sync

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?

 This will help us to find and resolve the problem.

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

untagging the bug, using delete works correctly for many users and there is no clear indication that other version didn't have buggy cases either there is no need to tag every new bug report there

Revision history for this message
okubax (xappeal) wrote :

anyway....I deleted my folders.db(after making a backup of course!) and wham! everything's working fine now.

Revision history for this message
peternix (prollmann) wrote :

It has happened to me on more than one occasion, after reinstalls. It can be reproduced, but the steps necessary to trigger a corrupt database in evolution are unknown to me. At the moment, my database continues to not allow me to delete messages from it. It's not just one message but *any* message sent to the trash.

Revision history for this message
okubax (xappeal) wrote :

@ peternix

try deleting your "folders.db" file from "./evolution/mail/local"

and then try and empty your trash(evolution).

Revision history for this message
peternix (prollmann) wrote :

This fixes the problem.

Revision history for this message
christopher pijarski (kpijarski) wrote :

Maybe this does fiz the problem but you'll end up DELETING ALL YOUR METADATA, i.e your markings of your e-mails (important, to do etc.) so I don't recommend this method - did it myself and regret it. Myaby the other solution is better: https://answers.launchpad.net/ubuntu/+source/evolution/+question/50690

Revision history for this message
jhaskins75 (jhaskins75) wrote :

I am having the same exact problem. I want to try the db method, but I do not want to delete my pst import messages in my personal folder. Each time I open Evolution, I am prompted to save my .pst. So if I do this, will I run the chance of losing my data if I exercise the folder deletion method you have described for the emptying of the trash folder messages. They are really building up fast...

Revision history for this message
gnhacker (giuseppe-natilla) wrote :

i am having the same problem; I solved it without loosing my e-mail, but only deleting the trash. go:

1. select trah folder

2. in the main menu select folder-->select all (ctrl+A) -->select folder again --> delete (CTRL+ E)

...and incredible but it works!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.