I ran spamassassin -tD < /root/email-sample-spam.txt and the output is below on spamassassin 2.6 and spamassassin rated it a 13.6. But when I paste the contents of email-sample-spam.txt into an email and send it through MailScanner Version 4.23-11 it only scores a 2.064.
When you copy-paste the sample spam, you are creating a DIFFERENT email, with different headers. Since the headers are different, and created by a non-spam mailclient, the score is going to go down.
Sorry, but the two emails are not created equal in this case, thus score differently.. as they should.
Also I had previously been running SpamAssassin 2.55 and this message had always scored a 5 when I sent it through MailScanner and now with SpamAssassin 2.6 it only scores a 2 so I had to lower my Required SpamAssassin Score = 2 to get it to catch it.
Running a copy-pasted email body as a test of spam is a horrendously poor test of SA. SA gets a large portion of it's score from analyzing the message headers.
Message h95Dvsqx018858 from 192.168.1.50 ([EMAIL PROTECTED]) to testdomain.com is spam, SpamAssassin (score=2.064, required 2, DRASTIC_REDUCED 2.00, HTML_MESSAGE 0.00, LINES_OF_YELLING 0.01, REMOVE_SUBJ 0.05)
Yeah, notice that there's no header rule hits here... hmmmm..
------------------------------------------------------- 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