I just downloaded a dataset of spam and hams from the net and fed one of the training file as input to the SA. What i want from it is to classify it as a spam or a ham when i run the command spamassassin -D < TEST_00000.eml
And this particular thing i could not found. Any help ? On Sun, Jan 24, 2016 at 11:42 PM, Martin Gregorie <[email protected]> wrote: > On Sun, 2016-01-24 at 23:05 +0530, Sarang Shrivastava wrote: > > Hey guys, > > > > I ran the following command > > > > spamassassin -D < TEST_00000.eml > > > > this was the last line of the output > > > > Jan 25 03:30:46.222 [8919] dbg: netset: cache trusted_networks > > hits/attempts: 9/11, 81.8 % > > > > What does this mean actually ? Does anyone knows how to read the > > ouput > > given by spamassassin after running this command in general. > > > That looks like a log entry from /var/log/messages output by a program > called netset. I don't see it when running spamassassin 3.4.1. > > What you should be looking at are the headers added to the message by > spamassassin: they all start with "X-Spam-" and the return code, which > is shown by running the command "echo $?" immediately after > spamassassin. I see a return code of 0 after running your message, > which may be incomplete, since the first line is not an envelope-from > line. > > What output are you expecting from spamassassin? > Do you think the message is ham or spam? > > > Martin > > > > -- *Sarang Shrivastava* *Computer Science & Engineering* *MNNIT Allahabad*
