Re: [Evolution] Running mail through an external program after reception



There's no way to add custom commands to the menu's, you can only move
existing commands around.

So i dont think there's any way to do this at present.

I would probably suggest something like ...

- Setup a maildir 'account', pointing to wherever you want, setup 2
folders, one for 'this is spam' and one for 'this isn't spam'.  Setup
shortcuts if you're that way inclined.
- Just copy any relevent messages to those folders whenever you want. 
- Setup a cron script which just goes through the messages in each
folder, and processes/deletes them from the 'cur' directory at will.

Using maildir simplifies your script as you need to do no locking and
can process/remove each message separately.  If you dont know how it
works, just set one up and copy some messages there, you can read/rm the
files at will, evo will eventually catch up in the ui, but you're
probably not too concenred with looking at the folders in evo anyway.


On Mon, 2003-03-03 at 14:32, Aram Mirzadeh wrote:
Greetings,

Was wondering if there is a way to modify the ui files under Evolution
(1.2.2) to allow me to run an external program on a mail I have already
received.   

I am running spamassassin 2.50 which has added Baysian filters and you
can teach the filters what is spam and non-spam.  I would like to be
able to: 

-- Right click on a particular message and have an option that says
'Spam' which should point to "|/usr/bin/sa-learn --spam --single" or Ham
(non-spam) which points to "|/usr/bin/sa-learn --ham --single". 

Right now I have to save the message to a file, then switch to another
window and run the commands by hand. This would be a great function to
have. 

Thanks. 

Aram


_______________________________________________
evolution maillist  -  evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution




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