Bart Schaefer wrote:
> On Wed, 25 Jun 2003, Will Yardley wrote:
 
> > If I do: |sa-learn --spam
> > from within mutt or Pine, it seems to just sit there.
> 
> It needs --single as well.
> 
> In pine what you want to do is
> 
> |                             to get to the pipe prompt
> ^W                            (ctrl-w) to select RAW mode

I didn't think about RAW mode before... What's the default if no mode is
selected? Is there a way to make RAW default?

> sa-learn --spam --single
> 
> In mutt you can make a one-key macro for that, but I don't use mutt very 
> often so someone else will have to suggest how.
 
Yeah... and see below for an example macro.
Would be cool if someone would make a patch to Pine that would let you either
create macros for this sort of thing, or that would make it super easy to
process mis-categorized messages using SA and / or bogofilter.

D.J. Bolderman wrote:
> On wo, 25 jun 2003, Will Yardley wrote:
 
> > That's exactly what I'd like to do (hence my question) - however i haven't
> > had luck doing this in the past. What's the syntax for doing it this way.
> > There's no mention of this in the man-page.
> 
> > If I do: |sa-learn --spam
> > from within mutt or Pine, it seems to just sit there.
 
As you both pointed out, I was wrong. I thought that I tried it with --single
- maybe I just didn't wait long enough when I tried in the past.

Anyway, thanks, and this does exactly what I wanted.

> I have
> 
> macro index \eL "|sa-learn --single -D --spam" "tag message as spam"
> macro pager \eL "|sa-learn --single -D --spam" "tag message as spam"
> 
> For my mutt key-bindings. Works like a charm. (it takes a few seconds
> before the message is processed thought)

Got it. I usually just type it in (I have the history patch anyway, so I can
just scroll up to previous commands I've piped messages to).

/w


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to