Bug 38767

Summary: KMail Filter Actions: Forward as Attachment?
Product: [Unmaintained] kmail Reporter: Andre Felipe Machado <andremachado>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: wishlist CC: bjoern, esigra, gerard.seibert, jdv, luigi.toscano
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Simple shell script to quietly forward-as-attachment
Another version of the script

Description C . W . Holeman II 2002-02-28 07:45:44 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: KMail
Severity: wishlist

How about the Settings/Configure Filters/Filter 
Rules/Filter Actions having a Forward as Attachment?

This would be useful for handing spam to an abuse address.

-- 
C.W.Holeman II
cwhii@acm.orghttp://emle.org
http://also.as/cwhiihttp://JulianLocals.com
Comment 1 Ingo Klöcker 2003-07-20 23:20:25 UTC
*** Bug 55953 has been marked as a duplicate of this bug. ***
Comment 2 grant mcdorman 2003-09-11 19:29:30 UTC
Created attachment 2426 [details]
Simple shell script to quietly forward-as-attachment

Here's a simple-minded script that can be used to create a
forward-as-attachment filter. To use it, save and make it
executable (chmod +x)

To use it in a filter, set the Action to 'Execute Program'.
Fill in the text box next to the filter with the path to
the file you've saved (or just the filename, if it's in
your $PATH). Follow that with up to four quoted strings:
the e-mail address to forward to, a CC address, a BCC
address, and the body text. For example:
  fwd-attach 'submitdummy@spamcop.net' '' '' 'Spam to process'
Comment 3 Stephan Kulow 2004-05-25 08:50:05 UTC
Replaced cwhii@acm.org with andremachado@techforce.com.br due to bounces by reporter
Comment 4 Vedran Ljubovic 2004-11-13 15:39:23 UTC
Perhaps filter rules should always forward as attachment and not inline? There are also redirect and bouncefilter actions if you want forwarded mail to be more readable.
Comment 5 Matej Cepl 2005-12-20 04:37:28 UTC
Created attachment 13988 [details]
Another version of the script

The above script never worked for me that well (it usually doesn't set
Content-type correctly), so I prefer the attached one using nail (which is
mailx-like but much more developed).
Comment 6 Tristan Miller 2006-04-17 15:32:08 UTC
Bug still outstanding in KMail 1.9.1 (KDE 3.5.2).

I would also like to see this feature implemented to help automated reporting of spam to services such as SpamCop.  (All headers need to be preserved in such cases.)

Note that Bug 53015 blocks this bug if message signing is enabled by default.
Comment 7 Jaime Torres 2008-11-29 23:24:24 UTC
*** Bug 174938 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Marten 2009-06-30 15:38:28 UTC
*** Bug 124854 has been marked as a duplicate of this bug. ***
Comment 9 Myriam Schweingruber 2012-08-18 07:59:40 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 10 Luigi Toscano 2012-08-19 01:10:50 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.