SA Bugzilla – Bug 2161
spamc does not do PYZOR_CHECK
Last modified: 2003-07-07 05:34:51 UTC
I installed spamassassin site-wide, after getting Razor2, pyzor and DCC working. I noticed that DCC and Razor seemed to be called, but not Pyzor. I tracked this down to my use of spamc. In fact, do the following to see this bug. Is there a fix? bash$ spamassassin < /usr/doc/spamassassin-2.55/sample-spam.txt >& FOO bash$ spamc < /usr/doc/spamassassin-2.55/sample-spam.txt >& FOO2 bash$ diff -u FOO2 FOO --- FOO2 Sun Jun 29 21:21:08 2003 +++ FOO Sun Jun 29 21:20:54 2003 @@ -25,14 +25,14 @@ Message-ID: <N1msdrbJXNPfV4wg9> To: undisclosed-recipients: ; Sender: dev_null_sample_spam@example.com -X-Spam-Status: Yes, hits=19.1 required=5.0 +X-Spam-Status: Yes, hits=20.3 required=5.0 tests=BAYES_80,DCC_CHECK,DRASTIC_REDUCED,FROM_HAS_MIXED_NUMS, HOME_EMPLOYMENT,INVALID_DATE,INVALID_MSGID,NO_REAL_NAME, - ONCE_IN_LIFETIME,RAZOR2_CF_RANGE_91_100,RAZOR2_CHECK, - RCVD_IN_NJABL,RCVD_IN_OSIRUSOFT_COM,REMOVE_SUBJ, - SMTPD_IN_RCVD,X_NJABL_OPEN_PROXY + ONCE_IN_LIFETIME,PYZOR_CHECK,RAZOR2_CF_RANGE_91_100, + RAZOR2_CHECK,RCVD_IN_NJABL,RCVD_IN_OSIRUSOFT_COM, + REMOVE_SUBJ,SMTPD_IN_RCVD,X_NJABL_OPEN_PROXY version=2.55 -X-Spam-Level: ******************* +X-Spam-Level: ******************** X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Spam-Report: This mail is probably spam. The original message has been attached along with this report, so you can recognize or block similar unwanted @@ -41,7 +41,7 @@ 2000 MILLIONAIRE, AUGUST 2000 TYCOONS AND AUGUST 2000 ENTREPRENEUR Magazine. ====> Do you have a burning desire to change the quality of your existing life? [...] - Content analysis details: (19.10 points, 5 required) + Content analysis details: (20.30 points, 5 required) NO_REAL_NAME (1.1 points) From: does not include a real name SMTPD_IN_RCVD (0.6 points) Received via SMTPD32 server (SMTPD32-n.n) INVALID_DATE (0.6 points) Invalid Date: header (not RFC 2822) @@ -56,6 +56,7 @@ [cf: 96] RAZOR2_CHECK (0.9 points) Listed in Razor2, see http://razor.sf.net/ DCC_CHECK (2.6 points) Listed in DCC, see http://rhyolite. com/anti-spam/dcc/ + PYZOR_CHECK (1.2 points) Listed in Pyzor, see http://pyzor.sf.net/ RCVD_IN_NJABL (0.8 points) RBL: Received via a relay in dnsbl.njabl.org [RBL check: found 254.105.28.200.dnsbl.njabl.org.] X_NJABL_OPEN_PROXY (0.8 points) RBL: NJABL: sender is proxy/relay/formmail/spam-source
I just verified that the same problem exists in the 2.60-CVS version (clean checkout from today).
spamd is using a different user home dir -- probably because it's running as a different user. pyzor stores registration details in ~/.pyzor. cf. the -u and -H switches for spamd and spamc.
Subject: Re: spamc does not do PYZOR_CHECK Okay, thanks! That was it. The problem was that root's pyzor directory was not set up. You can close this bug.
ok, cheers