OK, this is weird; I've just installed SA 2.0 and run it on
sample-nonspam.txt.  It computes a score of -2, and concludes that this
is spammy enough to slap on a "This is probably spam" footer.  Note that
it does *not* munge the subject or add X-Spam-Status.  It seems to get
sample-spam.txt right -- computes a score of 19.06, munges the subject,
adds "X-Spam-Flag: YES", and slaps on the verbose "This is probably
spam" block at both the beginning and end of the message.

This is a slightly unusual installation: I wanted to do it without
adding anything to any system directories (this is a shared community
system; I do have root access, but don't like to use it if I don't have
to).  In short, everything is under ~/lib/perl5, ~/lib/spamassassin, and
~/share/spamassasin.  I had to add some args to "perl Makefile.PL" and
tweak the resulting Makefile to make it all work.

Anyways, to test SA I run this:

  $ spamassassin -t -c ~/share/spamassassin < sample-nonspam.txt

(I copied sample-*.txt out of the SA source dir, to ensure that I was
loading the modules in ~/lib/perl5.)  The output for sample-nonspam.txt
is the weird one:

  From [EMAIL PROTECTED]  Wed Jan 23 17:22:47 2002
  Return-Path: <[EMAIL PROTECTED]>
  Delivered-To: [EMAIL PROTECTED]
  Received: from europe.std.com (europe.std.com [199.172.62.20])
          by mail.netnoteinc.com (Postfix) with ESMTP id 392E1114061
          for <[EMAIL PROTECTED]>; Fri, 20 Apr 2001 21:34:46 +0000 (Eire)
  [... skip a bunch of headers ...]
  Content-Type: text/plain; charset="us-ascii"
  Sender: [EMAIL PROTECTED]
  Precedence: list
  Reply-To: [EMAIL PROTECTED]
  X-Spam-Status: No, hits=-2.0 required=5.0 tests=PGP_SIGNATURE,RAZOR_CHECK version=2.0

  -----BEGIN PGP SIGNED MESSAGE-----

  TBTF ping for 2001-04-20: Reviving

  [... skip a bunch of body text ...]

      _______________________________________________
      Keith Dawson               [EMAIL PROTECTED]
      Layer of ash separates morning and evening milk.

  -----BEGIN PGP SIGNATURE-----
  Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

  iQCVAwUBOuCi3WAMawgf2iXRAQHeAQQA3YSePSQ0XzdHZUVskFDkTfpE9XS4fHQs
  WaT6a8qLZK9PdNcoz3zggM/Jnjdx6CJqNzxPEtxk9B2DoGll/C/60HWNPN+VujDu
  Xav65S0P+Px4knaQcCIeCamQJ7uGcsw+CqMpNbxWYaTYmjAfkbKH1EuLC2VRwdmD
  wQmwrDp70v8=
  =8hLB
  -----END PGP SIGNATURE-----



  SPAM: -------------------- Start SpamAssassin results ----------------------
  SPAM: This mail is probably spam.  The original message has been altered
  SPAM: so you can recognise or block similar unwanted mail in future.
  SPAM: See http://spamassassin.org/tag/ for more details.
  SPAM: 
  SPAM: Content analysis details:   (-2 hits, 5 required)
  SPAM: Hit! (-5 points)   BODY: Contains a PGP-signed message
  SPAM: Hit! (3 points)    Listed in Razor, see http://razor.sourceforge.net/
  SPAM: 
  SPAM: -------------------- End of SpamAssassin results ---------------------

Anyone else seen anything like this?

Note again that SA 2.0 seems to handle sample-spam.txt just fine, even
with my unusual installation and explicit "-c ~/share/spamassassin"
stuff.

        Greg
-- 
Greg Ward - Linux geek                                  [EMAIL PROTECTED]
http://starship.python.net/~gward/
If ignorance is bliss, why aren't there more happy people?

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to