Bug 59327 - Feature Request: Copy filter action
Summary: Feature Request: Copy filter action
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: filtering (show other bugs)
Version: 1.5.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 94640 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-04 14:12 UTC by Nino
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch which adds "Copy to Folder" functionality to filters (diff -c warning) (2.33 KB, patch)
2003-10-28 17:31 UTC, Neil Bortnak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nino 2003-06-04 14:12:33 UTC
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.
Comment 1 Neil Bortnak 2003-09-11 16:30:55 UTC
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!
Comment 2 quazgar 2003-10-27 21:41:20 UTC
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.
Comment 3 Neil Bortnak 2003-10-28 17:31:42 UTC
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.
Comment 4 Andreas Gungl 2004-11-28 21:06:46 UTC
The patch (applied with some adjustments to CVS HEAD) makes the current KMail crash. I'm working on a better implementation.
Comment 5 Andreas Gungl 2004-12-08 11:09:13 UTC
*** Bug 94640 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Gungl 2004-12-16 22:25:41 UTC
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