-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick Gilbert wrote:
| Hi,
|
| 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?

In an ideal world ;-)
It looks like the checks not hitting when you use spamc are all network
checks (razor and DNS checks).
Perhaps the user running spamd has options disabling razor and other
network checks in its user_prefs, or perhaps spamd has not been
restarted since a change to include razor and DNS checks was made in
local.cf?

If none of the above, the output from 'spamassassin -D --lint' run as
the user controlling spamd might show something...

Kind Regards,
Craig.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCf+XWMDDagS2VwJ4RAh2gAJ9F2iRvEiswS04y0BUTcvNdjYfyDQCdHob/
XZr9SX3++KydfN6UJChjB9w=
=e9uB
-----END PGP SIGNATURE-----

Reply via email to