I think it was a mistake on our part by using the same name for i/p and o/p.

regards

----- Original Message -----
From: "Matt Kettler" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: spamassassin 3.1.0 test gives error
Date: Wed, 14 Dec 2005 15:29:45 -0500

> 
> Theo Van Dinter wrote:
> > On Wed, Dec 14, 2005 at 01:28:07PM -0500, Matt Kettler wrote:
> >
> >>> spamassassin -t < sample-nonspam.txt > sample-nonspam.txt
> >>
> >> Why'd you direct the output back to sample-nonspam.txt? If SA isn't working
> >> you'll corrupt the file.
> >
> >
> > Beyond that, I don't even know if it'll work.  In all likelihood, the shell
> > will truncate the file and prep it for output while also opening 
> > it for input,
> > then run spamassassin which will then have a blank file.
> 
> Verified. My sa 3.1.0 works normally with:
> 
> spamassassin -t <sample-nonspam.txt >out.txt
> 
> and generates all the same errors as B.G. Mahesh when I do:
> 
> spamassassin -t <out.txt >out.txt
> 
> 
> B.G. Mahesh, I suggest trying your test again with the output directed to a
> different file, or /dev/null, not the same file as the input.
> 
> spamassassin -t <sample-nonspam.txt >out.txt
> 
> or
> 
> spamassassin -t <sample-nonspam.txt >/dev/null



--
B.G. Mahesh
[EMAIL PROTECTED]
http://www.indiainfo.com/


-- 
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!

Reply via email to