Bug 57149 - "can't delete" warnings when expiring trash
Summary: "can't delete" warnings when expiring trash
Status: RESOLVED DUPLICATE of bug 43931
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-12 03:52 UTC by Daniel Naber
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Naber 2003-04-12 03:52:13 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

When I expire my folders (only trash has expiry rules here) I get many of the following messages in the console:

delete /home/dnaber/Mail/trash/new/1046609319.1662.stfL:2,S if it doesn't exist!
kmail: Can't delete /home/dnaber/Mail/trash/new/1046609318.1662.qzWY:2,S if it doesn't exist!
kmail: Can't delete /home/dnaber/Mail/trash/new/1046609317.1662.mUKj:2,S if it doesn't exist!

Indeed my trash contains messages which are about a month old, although the rules say to delete everything that's older than 5 days.

Maybe the problem is as simple as this: KMail says that's its looking in the "new" sub folder, but everything(?) seems to be in the "cur" sub folder?

I mentioned this in a different bug report and I was asked if I use ReiserFS: yes, I use the ReiserFS that comes with Suse 8.1.
Comment 1 Ingo Klöcker 2003-04-14 00:45:10 UTC
Subject: Re:  New: "can't delete" warnings when expiring trash

On Saturday 12 April 2003 03:52, Daniel Naber wrote:
> Maybe the problem is as simple as this: KMail says that's its looking
> in the "new" sub folder, but everything(?) seems to be in the "cur"
> sub folder?

Unfortunately not. KMail first searches the message file in the cur 
folder and then in the new folder. Maybe the index of your trash folder 
is broken. Please try if deleting the index file of the trash folder 
helps.

Comment 2 Daniel Naber 2003-04-14 01:58:36 UTC
Didn't help: I exited KMail, deleted ~/Mail/.trash.index and ~/Mail/.trash.index.ids, 
started kmail and left it again (after copying some old to-be expired mails to trash). It 
worked the first time, but now I get the warnings again *and* I have messages in 
trash that switch to "No Subject" and "Unknown" (Sender) when I select them. 
These are of course old messages that should have been expired. 
Comment 3 Stephan Kulow 2003-09-24 21:53:31 UTC
the usual index out of date ;( 

*** This bug has been marked as a duplicate of 43931 ***