Will Yardley <[EMAIL PROTECTED]> writes:

> If I do: |sa-learn --spam
> from within mutt or Pine, it seems to just sit there.

I have the following setup for Gnus and it works just fine:

(global-set-key "\C-cs" 'cdh-sa-learn-spam)

(defun cdh-sa-learn-spam ()
  "Pipe a message to sa-learn so that it can learn from false
  negatives"
  (interactive)
  (gnus-summary-save-in-pipe "sa-learn --spam --single"))

This does the same thing, just w/ the '--single' parameter, which
according to the man page says:

       Learning from single messages uses a command like this:
                   cat mailmessage | sa-learn --ham --no-rebuild --single

I'm running 2.55, not sure when that was added though.

cdh

-- 
Chris D. Halverson                         http://www.halverson.org/
YIM/AIM: chrisdhal                         MSN: [EMAIL PROTECTED]


-------------------------------------------------------
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