Version: 1.4.3 (using KDE 3.0.3) Installed from: (testing/unstable) Compiler: gcc version 2.95.4 20011002 (Debian prerelease) OS: Linux (i686) release 2.4.19 I leave Kmail open throughout my KDE sessions. When I log out it doesn't automatically expire the old messages. Could you make it so that it does? Thanks, David
A dcop call for fetching the folder list and a call for several of the folder operations whould be all that is required here. Then it could be preformmed using a simple script for folder in $(dcop kmail KMailIface folders); do dcop kmail KMailIface markAllAsRead($folder) done
We don't do any expensive operations (like folder compaction or message expiration) when KMail is closed on logout because if these operations take too long then the session manager will kill KMail and this could cause the loss of messages. Maybe it's possible to make the session manager wait until KMail has completed these operations. BTW, this is no bug.
Expiry is now done as a background task while kmail runs, which fixes this problem.