On Sun, 2009-01-18 at 13:20 -0800, K9Barry wrote: > Using spamassassin v 3.2.3 on a Debian Linux 4.0 > > When I run spamassassin --lint it runs properly and returnd (blank) no > errors. > > When I run spamassassin -D I get this (see below) and the terminal hangs. > > # /usr/bin/spamassassin -D
Yup, has been mentioned a few times -- though I forgot if it is intentional. ;) With -D just feed it a mail, for real debugging. For some (rather limited) debugging without a mail, pipe it at least something. Like the examples below (from memory). spamassassin -D < message echo | spamassassin -D Again, the latter doesn't result in all stuff debugged and merely serves as a limited ad-hoc testing. guenther -- 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; }}}