Version: 1.5.1 (using KDE KDE 3.1.1) OS: Linux In some cases I would like to have a "copy" filter action. E.g. to store outgoing mails in both the "Sent mail" folder AND e.g. in the <Recipient's Name> folder.
Version: 1.5.2 (KDE 3.1.2) OS: Linux (Debian) Using evolution, I normally copy all incoming mails to an AllMail folder and (if applicable) a mailing list or person specific subfolder. In the morning I can delete pretty much everything in my inbox as I look through it, leaving only important "to-do" type messages behind. It's very tidy and I never worry about losing a message. Otherwise I have to jump around between all the different subfolders and I don't get my magic backup. In order to move to KMail I'd need a "Copy to Folder" filter action. It's a small thing, but very important to me. I've looked through the CVS source and while it looks reasonably steep on learning curve, I could give it a go. On the other hand, if KMail code pros such as yourselves would do it, I'd be much obliged. Or is there some terrible, lurking technical reason this Cannot Be Done? Thanks!
Another important application is for example, to have an extra copy of all "Ham" mail to train my Spamassassin. Without a "copy to"-filter, this means all very much work by hand.
Created attachment 2913 [details] Patch which adds "Copy to Folder" functionality to filters (diff -c warning) I made this patch up earlier this month. I was told on kde-pim I wasn't supposed to use -c to make the patch, but I hope it is still useable. I do not know a great deal about the internals of kmail, so I may have missed some important detail, but I don't think so. It works fine for me. With that said, feedback is appreciated.
The patch (applied with some adjustments to CVS HEAD) makes the current KMail crash. I'm working on a better implementation.
*** Bug 94640 has been marked as a duplicate of this bug. ***
CVS commit by gungl: Implement a copy filter action. Using KMCopyCommand leads to crashes, so I've chosen the shorter way as a first implementation. File Into Folder is renamed to Move Into Folder to provide the usual Move / Copy pattern to the users. FEATURE: 59327 M +20 -22 doc/kmail/using-kmail.docbook 1.40 M +57 -4 kmail/kmfilteraction.cpp 1.129 M +3 -3 kmail/kmfilteraction.h 1.45