On Thu, 2009-05-21 at 23:00 +0200, Mester wrote:
> Hi,
> 
> I have a Debian 5.0 server with postfix, amavis-new, spamassassin and razor.

Amavis implements it's own SA daemon, it does not use spamd. So there's
a third variable in the equation.

> For some reason razor check only runs if I run the following command
> spamassassin < /tmp/test.txt

This picks up any recent changes, server-wide and user specific.

> But if I receive an e-mail from outside the server, or start the 
> following command
> spamc < /tmp/test.txt
> razor check do not starts.

spamc uses spamd, which needs to be restarted after server-wide changes.
Anyway, you don't use it but Amavis. Which also needs to be restarted,
after server-wide changes...

> What can be the problem?

You did not restart Amavis after enabling razor? You did not restart
spamd? Well, you don't use it, so disable it.

You did enable razor in the server-wide config, right? Not per-user
settings.


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