On Sun, 2009-08-02 at 11:17 -0700, monolit wrote:
> I understand that I must read whole output(message(TOP message)). But the
> output this command is very fast and it stop at the end. I dont catch TOP of
> message. I tried "| more" switch but it didint help. I tried redirecting
> output to the file but it doesnt work. The file was empty:( I dont know how
> can I read the TOP of output message.

You mean, your terminal does not have a scroll-back buffer? You can't
simply go back a few pages?

Well, then try redirecting STDERR, instead of STDOUT only. That's where
the debugging messages are.

  spamassassin -D razor2  < sample.msg  2>&1 | less


> Edit your spamd start-up script, or start-up options file (depending on
> which OS you're running, these may be different). There should be a -L or
> --local switch in that file. Remove it to enable network tests.
> 
> I cant find the file with this switch - I use CentOS distro. 

This  (a) applies to spamd only, not running the 'spamassassin' script
as you do right now, and  (b) only in the case network-tests have
explicitly been disabled in the daemon start-up script.


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