You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Brent Clark <br...@gmail.com> on 2008/08/07 09:55:37 UTC

Razor2 woes

Hi

I recently installed spamassasin on my freebsd test machine. For the
likes of me, I keep getting this message, and I dont know how to fix it.

Aug  7 09:48:06 spamassasin spamd[63821]: razor2: razor2 check failed: 
Invalid argument razor2: razor2 had unknown error during get_server_info 
at 
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm 
line 188, <GEN95> line 419. at 
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm 
line 326, <GEN95> line 419.

spamassasin# ls -la 
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm
-r--r--r--  1 root  wheel  14110 Jun 10 11:20 
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm
spamassasin#

If anyone could assist, I would really appreciate it.

Kind Regards
Brent Clark


Re: Razor2 woes

Posted by "McDonald, Dan" <Da...@austinenergy.com>.
On Thu, 2008-08-07 at 09:55 +0200, Brent Clark wrote:
> Hi
> 
> I recently installed spamassasin on my freebsd test machine. For the
> likes of me, I keep getting this message, and I dont know how to fix it.

Have you tried the usual razor things:
- make certain tcp 7 is open to the razor servers
- create an account using razor-admin --register
- find the current razor servers using razor-admin --discover

looking at the die lines you have, it appears to be a problem in
get_server_info in Razor2::Client::Agent.  You might have a permissions
problem in the ~/.razor directory

> 
> Aug  7 09:48:06 spamassasin spamd[63821]: razor2: razor2 check failed: 
> Invalid argument razor2: razor2 had unknown error during get_server_info 
> at 
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm 
> line 188, <GEN95> line 419. at 
> /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm 
> line 326, <GEN95> line 419.

-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com


Re: Razor2 woes

Posted by Brent Clark <br...@gmail.com>.
Michael Scheidell wrote:
> Did you use the freebsd port?
>   
Yes
> Is your firewall open outbound to let razor packets out (and back in?)
>   
Turned out to be this one, cant believe I made this mistake.

Live and learn

Thanks


Re: Razor2 woes

Posted by Michael Scheidell <sc...@secnap.net>.
Did you use the freebsd port?

Did you create the .razor dir using the same account that spam assassin is
running in?

Did you make sure groups and group permissions ok?

Did you run the razor admin program and get an authentication id (identity)?

Is your firewall open outbound to let razor packets out (and back in?)
-- 
Michael Scheidell, CTO
>|SECNAP Network Security
Winner 2008 Network Products Guide Hot Companies

_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.spammertrap.com
_________________________________________________________________________