Getting kind of a headache, trying to wrap my head around this confusing
mess. Anyway, here's my shot at this.

On Sun, 2009-08-02 at 03:31 -0700, an anonymous Nabble user wrote:
> > > When I use spamassassin -t -D razor2 < /tmp/spam
> > > so I dont get the hash and so on but content analysis
> > > details...bayes clasification and so on. I expected message like 

The -D razor2 option limits debugging to Razor. No Bayes "and so on"
debugging.

I believe you're ONLY looking at the end. Which, due to the -t option,
indeed does show an additional Content Analysis at the end. The Razor
debugging however is at the TOP. Have a careful look at ALL the output,
not only the end.


> debug: Razor is available
> debug: Razor Agents 1.20, protocol version 2.
> debug: Read server list from /home/jgb/.razor.lst
> debug: 72636 seconds before closest server discovery
> debug: Closest server is 209.204.62.150
> debug: Connecting to 209.204.62.150...
> debug: Connection established
> debug: Signature: 48e74b8496877ba45072b201b41eebed7038186b
> debug: Server version: 1.11, protocol version 2
> debug: Server response: Negative 48e74b8496877ba45072b201b41eebed7038186b
> debug: Message 1 NOT found in the catalogue

This is a straight copy from the wiki [1], explaining how to test Razor
is working. However, it's an *old* snippet. Do run the command and have
a look at the Razor debug output at the top.

It will be different, cause this snippet is really, really old. Note the
version and protocol. But it will get you all the debugging output.


> I dont have any idea howto do razor works. This command(spamassassin -t -D
> razor2 < /tmp/spam) is without --lint and its recommended by spamassassin
> www pages.so  I am begginer in this field and therefore I need accurate
> advise. 

That command is correct.


[1] http://wiki.apache.org/spamassassin/RazorHowToTell

-- 
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to