Hi,

Thanks for the suggestion.
I have just copied the razor file in /usr/local/bin but unfornately it
doesn't change anything.
Moreover according to the spamassassin log :

May 28 23:50:04 anedroide2 spamd[23228]: debug: Current PATH is:
/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin:/h
ome/sly/bin/:/usr/local/mysql/bin/:/usr/local/apache/bin/

the PATH should be ok :/

I even also registered razor as root but it doesn't change anything :(

Any other idea ? ;)

(the weird thing is DCC and Pyzor are working like a charm, only razor is
affected by the problem)

Thanks,
  Jocelyn

----- Original Message ----- 
From: "Matt Kettler" <[EMAIL PROTECTED]>
To: "Jocelyn Fournier" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, May 28, 2003 11:41 PM
Subject: Re: [Razor-users] Unable to use razor with spamassassin


> Check your paths.. do you have 2 copies of spamd? (one in /usr/local/bin
> and one in /usr/bin?)
>
> The reason I ask is that a root users environment will not have /usr/local
> in its path, and will execute the copy in /usr/bin instead. A non-root
user
> will likely execute the one in /usr/local/bin. If razor is installed in
> /usr/local/* and not /usr/* the root-run copy won't find it, but the
> non-root user will.
>
> Even though spamd is setuiding to the user spamc, if it is started by
root,
> it will inherit the execution path from root, which is not the same as
> logging in as spamc.
>
>
>
>
> >I'm trying to install razor with spamassassin and qmail, but it fails.
> >Spamassassin keep saying :
> >May 28 20:49:31 anedroide2 spamd[4952]: debug: Razor2 is not available
>
> >However if I run spamassassin manually (spamassassin -D <
sample-spam.txt)
> >it works, and detect both DNS and razor2 :/
>
>



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to