Hi,
I've asked this on the SA mailing list as well, but I think it's more likely it's a setup issue. I've followed Bills instructions exactly - the only additions being that I've installed Razor2 and DCC.
Why do I get (VERY) different results on the same machine if I call spamassassin in two different ways? Eg:
spamassassin -D < spam.txt
Gives:
X-Spam-Status: Yes, score=10.8 required=5.0 tests=AWL,HELO_DYNAMIC_COMCAST,INFO_TLD,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,
RCVD_IN_SORBS_DUL,URIBL_OB_SURBL,URIBL_SBL autolearn=unavailable version=3.0.3
but:
spamc < spam.txt
gives:
X-Spam-Status: No, score=4.8 required=5.0 tests=HELO_DYNAMIC_COMCAST,INFO_TLD
autolearn=no version=3.0.3
Surely they should both give exactly the same result?
Make sure they are run as the same user, and use the same options. I get exactly the same results from these:
su vpopmail
spamc < /root/.cpan/build/Mail-SpamAssassin-3.0.2/sample-spam.txt
X-Spam-Status: Yes, score=994.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,GTUBE
autolearn=unavailable version=3.0.2-20050309
spamassassin -x < /root/.cpan/build/Mail-SpamAssassin-3.0.2/sample-spam.txt
X-Spam-Status: Yes, score=994.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,GTUBE
autolearn=unavailable version=3.0.2-20050309
Note the use of the -x argument with spamassassin. Without -x, I get different results.
Regards,
Bill
