Well, I did a little more searching and found bug #1578, which
includes a patch.

BUT, the patch didn't apply cleanly on CmdLearn.pm in 2.50.  Once I
made the edits by hand, it works as advertised, at least through a
pipe.

On Mon, 3 Mar 2003, David McNett wrote:

> On 02-Mar-2003, Shane Williams wrote:
> > sa-learn --ham --single < message (where I assume message is really
> > the file containing the single message) I get the same error.
> > 
> > Anyone else seeing a problem like this?
> 
> Yeah, I am seeing the same behavior.  No clue why.  I just wrapped it
> up in sh and went on with my life.
> 
> [~/bin/sa-spam]
>   #!/bin/sh
> 
>   msgfile=`mktemp /tmp/sal.XXXXXX` || exit 1
>   cat > $msgfile
>   sa-learn --spam --showdots --file $msgfile
>   rm -f $msgfile
> 
> I figure that'll do until SA gets fixed.
> 
> 

-- 
Public key #7BBC68D9 at            |                 Shane Williams
http://pgp.mit.edu/                |      System Admin - UT iSchool
=----------------------------------+-------------------------------
All syllogisms contain three lines |              [EMAIL PROTECTED]
Therefore this is not a syllogism  | www.ischool.utexas.edu/~shanew



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to