I just upgraded our server to SpamAssassin 2.4, now that its available
through FreeBSD ports ... I've got Razor-agents installed, as well as
Pyzor.

I'm using spamcheck.py to act as an LMTP filter between postfix and cyrus
IMAPd ...

I have it running with the following options:

/usr/local/bin/spamd -D -d -x -q -A 64.49.215.141 -s local1

according to /var/log/spamd (where I have local1 logged to), the log
messages are showing:

Sep 22 22:43:16 hub spamd[32291]: connection from hub.org [ 64.49.215.141 ] at port 
1082
Sep 22 22:43:16 hub spamd[32291]: logmsg: connection from hub.org [ 64.49.215.141 ] at 
port 1082
Sep 22 22:43:16 hub spamd[34889]: debug: retrieving prefs for [EMAIL PROTECTED] from SQL 
server
Sep 22 22:43:16 hub spamd[34889]: Still running as root: user not specified, not 
found, or set to root.  Fall back to nobody.
Sep 22 22:43:16 hub spamd[34889]: logmsg: Still running as root: user not specified, 
not found, or set to root.  Fall back to nobody.
Sep 22 22:43:16 hub spamd[34889]: processing message 
<[EMAIL PROTECTED]> for [EMAIL PROTECTED]:65534, expecting 4121 
bytes.
Sep 22 22:43:16 hub spamd[34889]: logmsg: processing message 
<[EMAIL PROTECTED]> for [EMAIL PROTECTED]:65534, expecting 4121 
bytes.
Sep 22 22:43:16 hub spamd[34889]: debug: is Net::DNS::Resolver unavailable? 0
Sep 22 22:43:17 hub spamd[34889]: debug: running header regexp tests; score so far=0
Sep 22 22:43:17 hub spamd[34889]: debug: running body-text per-line regexp tests; 
score so far=-2.6
Sep 22 22:43:17 hub spamd[34889]: debug: spam-phrase score: 2.4123495552067: hits: our 
list, what you, your life
Sep 22 22:43:17 hub spamd[34889]: debug: check_for_very_long_text: found 2403 bytes
Sep 22 22:43:17 hub spamd[34889]: debug: check_for_very_long_text: found 2403 bytes
Sep 22 22:43:17 hub spamd[34889]: debug: running raw-body-text per-line regexp tests; 
score so far=-3.3
Sep 22 22:43:17 hub spamd[34889]: debug: running uri tests; score so far=-9.3
Sep 22 22:43:17 hub spamd[34889]: debug: uri tests: Done uriRE
Sep 22 22:43:17 hub spamd[34889]: debug: running full-text regexp tests; score so 
far=-9.3
Sep 22 22:43:17 hub spamd[34889]: debug: Razor2 is available
Sep 22 22:43:17 hub spamd[34889]: debug: entering helper-app run mode
Sep 22 22:43:17 hub spamd[34889]: debug: leaving helper-app run mode
Sep 22 22:43:17 hub spamd[34889]: debug: Razor1 is not available
Sep 22 22:43:17 hub spamd[34889]: debug: Pyzor is available:
Sep 22 22:43:17 hub spamd[34889]: debug: entering helper-app run mode
Sep 22 22:43:17 hub spamd[34889]: debug: Pyzor: got response: /usr/local/bin/python: 
can't open file '/usr/local/bin/pyzor'
Sep 22 22:43:17 hub spamd[34889]: debug: leaving helper-app run mode
Sep 22 22:43:17 hub spamd[34889]: debug: Pyzor: couldn't grok response 
"/usr/local/bin/python: can't open file '/usr/local/bin/pyzor' "
Sep 22 22:43:17 hub spamd[34889]: debug: DNS MX records found: 2
Sep 22 22:43:17 hub spamd[34889]: debug: forged_rcvd_trail: entry 0: by=hub.org 
from=pgsql.com mismatches=0
Sep 22 22:43:17 hub spamd[34889]: debug: forged_rcvd_trail: entry 1: by=pgsql.com 
from=postgresql.org mismatches=0
Sep 22 22:43:17 hub spamd[34889]: debug: forged_rcvd_trail: entry 2: by=postgresql.org 
from=(undef) mismatches=0
Sep 22 22:43:17 hub spamd[34889]: debug: forged_rcvd_trail: entry 3: by=postgresql.org 
from=pa.us mismatches=0
Sep 22 22:43:17 hub spamd[34889]: debug: running meta tests; score so far=-9.3
Sep 22 22:43:17 hub spamd[34889]: debug: is spam? score=-9.3 required=5 
tests=IN_REP_TO,PATCH_CONTEXT_DIFF,QUOTED_EMAIL_TEXT,SPAM_PHRASE_02_03
Sep 22 22:43:17 hub spamd[34889]: clean message (-9.3/5.0) for [EMAIL PROTECTED]:65534 in 
  1 seconds, 4121 bytes.
Sep 22 22:43:17 hub spamd[34889]: logmsg: clean message (-9.3/5.0) for 
[EMAIL PROTECTED]:65534 in   1 seconds, 4121 bytes.

Now, if I use spamassassin -D and pipe in the sample-spam.txt file, the
results seem to show different ... for instance:

debug: Pyzor was found at /usr/local/bin/pyzor
debug: Pyzor is available:
debug: entering helper-app run mode
debug: Pyzor: got response: 167.206.208.233:24442       (200, 'OK')     11      0

debug: leaving helper-app run mode
debug: Pyzor: Listed! 11 of 5 and whitelist is 0


If i don't run with -D option enabled, then I get:

razor2 check skipped: No such file or directory Can't call method "log" on unblessed 
reference at /usr/local/lib/perl5/site_perl/5.005/Razor2/Client/Agent.pm line
211, <STDIN> chunk 49.

in my logs ...

not sure what I've got set wrong, or where i need to set, but it doesn't
look liek the external checks are working consistently ... how to debug?
what to check?



-------------------------------------------------------
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

Reply via email to