Re: [Evolution] New action for messages and attachment



Raul Dias wrote:

I am looking for a way to add a new action for a message.
I want to feed the message to another program.

The idea is to be able to feed it to Spamassassin, SpamCop
or something else.

You can do this already via defining a filter for all incoming mail and
use the "pipe message to shell program" action. This is exactly how you
integrate Spamassassin with Evolution. The filter is

If

Action:  "Pipe message to shell command"
Command: "/usr/bin/spamc -c"
Test:    "does not return"
Value:   "0"

Then

Action: "Move to folder"
Folder: "your spam folder"
Action: "Stop Processing"

cheers,
brad

-- 
Brad Warkentin, P.Eng
Email: <brad warkentin rogers com>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]