Christopher wrote:

> Thanks Gary for the deatiled instructions. OK, i ran 'razor-admin -create'
> and made /etc/razor/razor-agent.con (as id di not exists when i ran
> - -create).

This is unclear. When you ran 'razor-admin -create' did it create a
.razor directory with the contents something like this?:

sfa:~# ls -l .razor/
total 20
-rw-r--r--  1 root root 698 2006-08-19 17:55 razor-agent.conf
-rw-r--r--  1 root root 566 2006-08-19 17:55 server.joy.cloudmark.com.conf
-rw-r--r--  1 root root  58 2006-08-19 17:55 servers.catalogue.lst
-rw-r--r--  1 root root  22 2006-08-19 17:55 servers.discovery.lst
-rw-r--r--  1 root root  38 2006-08-19 17:55 servers.nomination.lst

And then did you copy the razor-agent.conf that was created for you
here to /etc/razor? And does it look something like this?:

#
# Razor2 config file
#
# Autogenerated by Razor-Agents v2.82
# Sat Aug 19 18:34:02 2006
# Non-default values taken from /root/.razor/razor-agent.conf
#
# see razor-agent.conf(5) man page
#

debuglevel             = 3
identity               = identity
ignorelist             = 0
listfile_catalogue     = servers.catalogue.lst
listfile_discovery     = servers.discovery.lst
listfile_nomination    = servers.nomination.lst
logfile                = razor-agent.log
logic_method           = 4
min_cf                 = ac
razordiscovery         = discovery.spamnet.com
rediscovery_wait       = 172800
report_headers         = 1
turn_off_discovery     = 0
use_engines            = 4,8
whitelist              = razor-whitelist

> I will not need to run -create for each user. So then i ran
> spamassassin --lint and recieved this error:
> [16307] warn: razor2: razor2 check failed: No such file or directory
> razor2: razor2 had unknown error during get_server_info at
> /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/Plugin/Razor2.pm line
> 180. at
> /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/Plugin/Razor2.pm line
> 322.
> So i restarted spamd and ran spamassassin --lint and recieved the same
> error as above. Then i grabbed the test email message from you and ran
> razor-check -d < email.txt > rtest
> and got this error:
> nextserver: Bootstrap discovery failed. Giving up. I ran the test more
> than 1 time. I am not sure what to do now. It is also enabled in my .cf
> file of spamassassin.

I would suggest running -create for each user. It looks like it is more
efficient for both your computer and the razor servers because it
appears it does not have to try to discover the servers each time it
runs.

However, it looks like your 'Bootstrap discovery failed' problem may
possibly be a firewall issue. Razor needs outgoing UDP port 2703.
Most firewalls should allow ESTABLISHED communications on high ports
(the reply from the razor servers), but if yours does not, that would
also be a problem that needs to be fixed.

Suggestion: run 'razor-admin -create' twice when you are running it
the first time for a user.

Gary V


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to