Bug 126368

Summary: Expire Messages deletes unread messages even with "expire unread mails" not checked
Product: [Applications] kmail Reporter: Travis Evans <travisgevans>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: bjoern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Travis Evans 2006-04-27 20:21:31 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs

Maybe I'm doing something wrong (I couldn't find another bug report similar to this), but KMail's Expire Messages feature doesn't behave as I would expect it to.

When I right-click a folder and choose Expire..., I get a dialog box with two checkboxes, one labeled "Expire read mails after..." and the other labeled "Expire unread mails after...".  I only want read messages to be expired after a day, but I want new/unread messages to *never* expire.  So I only check "Expire read mails after..." and choose 1 day and leave "Expire unread mails..." unchecked, expecting that unread mails will not expire.  However, KMail expires the new (and therefore unread) emails after one day as well!  I've had to set the expire function to move the mails to the trash folder instead of deleting them to prevent loss of data.

I'm not sure if it matters whether the messages are marked as new or unread.  I tried to test this, but KMail keeps crashing when I try to change the Expire settings, so I can't tell.
Comment 1 Björn Ruberg 2009-12-25 23:33:27 UTC
Still valid in recent kmail versions?
Comment 2 Travis Evans 2009-12-28 18:25:08 UTC
It still occurs with Kmail 1.9.10 (KDE 3.5.10); unfortunately, I likely won't have time to upgrade and test with the latest versions (with KDE 4) for quite a while.