Bug 44670 - possibility to use external filter match program
Summary: possibility to use external filter match program
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: 1.4
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-03 16:33 UTC by Axel Roebel
Modified: 2012-08-19 01:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Roebel 2002-07-03 16:31:49 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.4 (using KDE 3.0.0 )
Severity:          wishlist
Installed from:    compiled sources
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
OS:                Linux (i686) release 2.4.9-13smp
OS/Compiler notes: 

Hello

as a simple extension to be able to use 
spam filtres I would suggest having 
a matching filter that is just a reference to
an external program (similar to the action that obtains the message for input)
The filter would apply if the program returns true.

With this extension spam checkers like razor-check can be easily used and all 
found spam messages could be moved to a separate folder for later treatment.
The current method of applying a spam check program as an action to the message which would be replaced in case of spam is not working well on imap servers and does not allow to manually check the results.

kind regards and many thanks for kmail

Axel.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Marc Mutz 2002-07-03 18:11:02 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 03 July 2002 18:31 Axel.Roebel@ircam.fr wrote:
<snip>
> as a simple extension to be able to use
> spam filtres I would suggest having
> a matching filter that is just a reference to
> an external program (similar to the action that obtains the message
> for input)
> The filter would apply if the program returns true.
<snip>

Good idea. Current workaround: Make the external program a filter 
action then make it add an "x-myproggy-matched: yes/no" header to each 
mail then filter on that header instead.

Marc

- -- 
Marc Mutz <mutz@kde.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Iz423oWD+L2/6DgRAqNHAJ9j2+UgmR7QLVIh4fd5UvYSYWpRmwCdErGv
pyzz71ggfCW0/vnSyPHbB+Y=
=PuzQ
-----END PGP SIGNATURE-----
Comment 2 Tom Emerson 2003-02-21 19:37:56 UTC
I'm adding some votes to this because this is one of two enchancements I'd like to see [they are 
very closely related, but not quite an exact dup]  Another way of looking at this would be to 
consider a "pre-filter action" 
Comment 3 Andre Felipe Machado 2003-03-14 13:16:58 UTC
Hello, 
I suggest you a look at http://kmail.kde.org > tools > anti-spam > SpamOracle. 
It has a link to a mini how-to about configuring an external filter program 
for piping through messages, even on imap servers. 
It could be similar to your needs and with some modification you could 
accomplish them. 
Regards 
Andre Felipe 
Comment 4 Tom Albers 2004-08-04 19:55:47 UTC
In KMail 1.7 there will be support for anti-spam and anti-virus programs. They can filter messages to seperate folders and basicly exactly what you wish for, except for the fact that running a program as a filter criteria is not possible in KMail 1.7 / KDE 3.3. If all voters have voted for this wish because of the ability to use a spam program, then this wish can be closed now. 
Comment 5 frankpylin 2004-09-28 07:49:58 UTC
I think it will be a good idea to leave this option open. It will be useful to have a filter that pipes the message to an external program and receives return value or error code from it. It will have uses more than just spam-filters e.g. sorting complex survey forms.
Comment 6 Myriam Schweingruber 2012-08-18 08:59:31 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 7 Luigi Toscano 2012-08-19 01:09:35 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.