(*** This bug was imported into bugs.kde.org ***) Package: kmail Version: 1.4 (using KDE 3.0.0 ) Severity: wishlist Installed from: SuSE RPMs Compiler: wishlist item OS: Linux OS/Compiler notes: wishlist item The current expiry mechanism is pretty useful in keeping mailboxes relatively small and relevant. However I do prefer to keep all email rather than delete mail and usually archive old messages instead. As a result it would be extremely useful if messages could be expired into an archival tree. One possible approach would be to have a directory structure along the following lines: ~/Mail/<current directory structure> ~/Mail/.archival/<current directory structure> Archival of messages would by default move into the archival tree or into a specific folder. Having this controlled using filters or as "folder properties" would be extremely useful. (to me) Whatever interface is provided however it would be extremely useful if the archive could be used in the following manner: Take ~/Mail/.archive/. as the root directory for a CD of old email. Later when retrieval is needed someone could then mount this cd of messages using normal unix tools as something like: ~/Mail/.oldmessages.directory/ And then browse through the old messages as required. Doing something like this is at present a very manual intensive process. Changes: Folders Menu in folders pane: * Add - Archive (if an archive action has been defined.) In the Folder Properties dialog add change: Old Message Expiry... to: Old Messages Expiry < section as before > Archive < similar but with: * default location * other folder |<folder drop down> | As alternatives ala the filters. I suspect there's lots of other ways perhaps more flexible which would be more appropriate but hopefully this gives a clear idea of desired behaviour. I'd be prepared to implement this if someone can give me pointers as to where to start ! :-) (Submitted via bugs.kde.org)
*** Bug 42560 has been marked as a duplicate of this bug. ***
CVS commit by faure: GUI: Implemented "Expire messages by moving them to another folder". Thanks to Till for the advice on how to do that (storing folder id and using a KMMoveCommand) Added kmkernel::findFolderById() to avoid copy/pasting yet another time the code that looks in the 3 foldermgrs; ported the existing code to that. CCMAIL: 43218-done@bugs.kde.org M +31 -7 expirejob.cpp 1.2 M +1 -1 expirejob.h 1.2 M +1 -5 identitydialog.cpp 1.34 M +2 -1 imapaccountbase.h 1.43 M +7 -2 jobscheduler.cpp 1.2 M +1 -0 jobscheduler.h 1.3 M +1 -5 kmailicalifaceimpl.cpp 1.43 M +1 -5 kmcomposewin.cpp 1.819 M +23 -1 kmfolder.cpp 1.324 M +15 -0 kmfolder.h 1.153 M +1 -3 kmfoldercombobox.cpp 1.18 M +55 -11 kmfolderdia.cpp 1.140 M +14 -4 kmfolderdia.h 1.41 M +1 -5 kmfoldersearch.cpp 1.51 M +13 -5 kmkernel.cpp 1.271 M +4 -0 kmkernel.h 1.99 M +4 -10 kmmainwidget.cpp 1.195