I have SpamAssassin/qmail setup (utilizing the SA QMAILQUEUE patch), which
works great, but can't seem to get spamc/spamd to utilize razor2 at all,
even though tests with "spamassassin -t -D < test.txt" show it (apparently)
working fine:

bash-2.05b$ uname -a
FreeBSD qmail1 4.9-RC2 FreeBSD 4.9-RC2 #0: Thu Oct 16 17:05:37 EDT 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/qmail49 i386

bash-2.05b$ whoami
spamd

bash-2.05b$ spamassassin -t -D < test_spam.txt

[snip]

debug: Razor2 is available
debug: entering helper-app run mode
 Razor-Log: Computed razorhome from env: /home/spamd/.razor
 Razor-Log: Found razorhome: /home/spamd/.razor
 Razor-Log: read_file: 16 items read from
/home/spamd/.razor/razor-agent.conf
Nov 17 12:50:11.177535 check[70859]: [ 1] [bootup] Logging initiated
LogDebugLevel=9 to stdout
Nov 17 12:50:11.177964 check[70859]: [ 5] computed
razorhome=/home/spamd/.razor, conf=/home/spamd/.razor/razor-agent.conf,
ident=/home/spamd/.razor/identity
Nov 17 12:50:11.178260 check[70859]: [ 8] Client supported_engines: 1 2 3 4
Nov 17 12:50:11.178740 check[70859]: [ 8]  prep_mail done: mail 1
headers=41, mime0=147
Nov 17 12:50:11.179109 check[70859]: [ 5] read_file: 1 items read from
/home/spamd/.razor/servers.discovery.lst
Nov 17 12:50:11.179440 check[70859]: [ 5] read_file: 2 items read from
/home/spamd/.razor/servers.nomination.lst
Nov 17 12:50:11.180023 check[70859]: [ 5] read_file: 3 items read from
/home/spamd/.razor/servers.catalogue.lst
Nov 17 12:50:11.180490 check[70859]: [ 9] Assigning defaults to
joy.cloudmark.com
Nov 17 12:50:11.180719 check[70859]: [ 9] Assigning defaults to
folly.cloudmark.com
Nov 17 12:50:11.181012 check[70859]: [ 9] Assigning defaults to
stress.cloudmark.com
Nov 17 12:50:11.181258 check[70859]: [ 9] Assigning defaults to
truth.cloudmark.com
Nov 17 12:50:11.181472 check[70859]: [ 9] Assigning defaults to
rancor.cloudmark.com
Nov 17 12:50:11.182284 check[70859]: [ 5] read_file: 12 items read from
/home/spamd/.razor/server.folly.cloudmark.com.conf
Nov 17 12:50:11.182933 check[70859]: [ 5] read_file: 12 items read from
/home/spamd/.razor/server.folly.cloudmark.com.conf
Nov 17 12:50:11.183504 check[70859]: [ 5] read_file: 13 items read from
/home/spamd/.razor/server.stress.cloudmark.com.conf
Nov 17 12:50:11.184312 check[70859]: [ 5] read_file: 13 items read from
/home/spamd/.razor/server.stress.cloudmark.com.conf
Nov 17 12:50:11.184674 check[70859]: [ 5] 167014 seconds before closest
server discovery
Nov 17 12:50:11.184916 check[70859]: [ 6] stress.cloudmark.com is a
Catalogue Server srl 140; computed min_cf=6, Server se: 58
Nov 17 12:50:11.185254 check[70859]: [ 8] Computed supported_engines: 4
Nov 17 12:50:11.185555 check[70859]: [ 8] Using next closest server
stress.cloudmark.com:2703, cached info srl 140
Nov 17 12:50:11.185757 check[70859]: [ 8] mail 1 has no subject
Nov 17 12:50:11.186811 check[70859]: [ 6] preproc: mail 1.0 went from 147
bytes to 110
Nov 17 12:50:11.187005 check[70859]: [ 6] computing sigs for mail 1.0, len
110
Nov 17 12:50:11.188685 check[70859]: [ 6] skipping whitelist file (empty?):
/home/spamd/.razor/razor-whitelist
Nov 17 12:50:11.188940 check[70859]: [ 5] Connecting to stress.cloudmark.com
...
Nov 17 12:50:11.372465 check[70859]: [ 8] Connection established
Nov 17 12:50:11.372768 check[70859]: [ 4] stress.cloudmark.com >> 30 server
greeting: sn=C&srl=140&ep4=7542-10&a=l
Nov 17 12:50:11.373236 check[70859]: [ 6] stress.cloudmark.com is a
Catalogue Server srl 140; computed min_cf=6, Server se: 58
Nov 17 12:50:11.373484 check[70859]: [ 8] Computed supported_engines: 4
Nov 17 12:50:11.373711 check[70859]: [ 8] mail 1.0 e4 sig:
_4stPjmFUFnkTFg66nUUIsLGqEwA
Nov 17 12:50:11.373940 check[70859]: [ 8] preparing 1 queries
Nov 17 12:50:11.374462 check[70859]: [ 8] sending 1 batches
Nov 17 12:50:11.375111 check[70859]: [ 4] stress.cloudmark.com << 52
Nov 17 12:50:11.375525 check[70859]: [ 6]
a=c&e=4&ep4=7542-10&s=_4stPjmFUFnkTFg66nUUIsLGqEwA
Nov 17 12:50:11.481629 check[70859]: [ 4] stress.cloudmark.com >> 5
Nov 17 12:50:11.481875 check[70859]: [ 6] response to sent.1
p=0
Nov 17 12:50:11.482353 check[70859]: [ 6] mail 1.0 e=4
sig=_4stPjmFUFnkTFg66nUUIsLGqEwA: sig not found.
Nov 17 12:50:11.482544 check[70859]: [ 7] method 4: mail 1.0: no-contention
part, spam=0
Nov 17 12:50:11.482679 check[70859]: [ 7] method 4: mail 1: all
non-contention parts not spam, mail not spam
Nov 17 12:50:11.482814 check[70859]: [ 3] mail 1 is not known spam.
Nov 17 12:50:11.482954 check[70859]: [ 5] disconnecting from server
stress.cloudmark.com
Nov 17 12:50:11.483167 check[70859]: [ 4] stress.cloudmark.com << 5
Nov 17 12:50:11.483291 check[70859]: [ 6] a=q
debug: Using results from Razor v2.36
debug: Found Razor2 part: part=0 engine=4 ct=0 cf=0
debug: leaving helper-app run mode
debug: Razor2 results: spam? 0  highest cf score: 0

I've tried the razor2 clients (2.36) with and without the patch, and also
tried making them from the BSD ports tree - same effect. SA is working
beautifully otherwise - I'd just like to get this bit of functionality
enabled. I have spamd running as user 'spamd', and have (I believe) a proper
~/.razor setup:

bash-2.05b$ ls -al .razor/
total 16
drwxr-xr-x  2 spamd  spamd  512 Nov 17 11:22 .
drwxr-xr-x  7 spamd  spamd  512 Nov 17 11:43 ..
-rw-r--r--  1 spamd  spamd  728 Nov 17 11:22 razor-agent.conf
-rw-r--r--  1 spamd  spamd  426 Nov 17 11:22 server.folly.cloudmark.com.conf
-rw-r--r--  1 spamd  spamd  453 Nov 17 11:22
server.stress.cloudmark.com.conf
-rw-r--r--  1 spamd  spamd   62 Nov 17 11:22 servers.catalogue.lst
-rw-r--r--  1 spamd  spamd   14 Nov 17 11:22 servers.discovery.lst
-rw-r--r--  1 spamd  spamd   38 Nov 17 11:22 servers.nomination.lst

...though I've generally left the settings in razor-agent.conf alone. If I
feed the GTUBE message from the command line, I get the expected hit. If I
send it from outside, I'd expect to see a similar RAZOR2 hit in the headers,
but I don't. I'm missing something dumb. Any ideas?

JQ

--
James Quinby      
Web Hosting Admin, Manheim



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to