Re: Cone build 20100819 released

[email protected] Mon, 23 Aug 2010 10:12:06 +0100
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
Sam Varshavchik writes:

> Download: http://www.courier-mta.org/download.php#cone
> 
> Untested build. By popular request -- hooks for running external commands 
> and passing them a message on standard input.
> 
> Changes (since 0.84):
> 
> * In the message composition screen, ^N without a highlighted text range 
> undefine a previously memorized macro text block.
> 
> * Hooks for invoking external commands to process messages. On the folder 
> idnex, an external command gets first bound to a function key, then pressing 
> the function key runs the command in a child process. Multiple messages may 
> be processed in a batch by marking them, then pressing the search key ";", 
> then the function key. When viewing a single message, pressing the function 
> key also runs its assigned external command. Additional details in the 
> online help.

Cool, it works!
I just bind F6 to /usr/bin/sa-learn --spam!
The problem is the command will return a result ("Learned X tokens from Y 
messages") and it messes the screen; performing this on multiple messages 
even more so. I had to use `/usr/bin/sa-learn --spam >/dev/null 2>&1` to 
solve that.

Thank you!



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone