Hello, Recently, we've been trying out Spamassassin with good results, and I decided to up the ante, and implement Razor as well. I thought it might be useful to offer a few thoughts from the point of view of a newbie.
Most of this info was posted to the Spamassassin list, but it is probably more germane here. As a bit of further background, for now we're using both Spamassassin and Razor in per-user mode, but will likely move over to spamd soon, and integrate it into our sendmail environment. Also, I'm a fair-weather user of Perl, and as you'll see below, my lack of expertise in Perl module installation and configuration resulted in some difficulties. Before diving into the details of the e-mail that follows, I'll summarize some of the problems that I ran into with Razor. I'd appreciate your suggestions on how I might've avoided some of these problems, or how to use Razor more effectively. 1) The general consensus on the Spamassassin Talk e-mail list was to "use Razor2", but the installation documentation is a little light on how to find it and install it. From the installation notes, http://www.spamassassin.org/dist/INSTALL: - Razor http://razor.sourceforge.net/ Used to check message signatures against Vipul's Razor collaborative filtering network. Razor is not available from CPAN -- you have to download it from the URL above. Razor has a large number of dependencies on CPAN modules. Feel free to skip installing it, if this makes you nervous; SpamAssassin will still work well without it. (I should add that my reason for trying Razor is that although SA does a great job of diagnosing most SPAM, I was hoping for better coverage on the marginal spam's that come through, and to take advantage of black-listing based upon consensus.) 2) My first attempt was not to follow the instructions above (heh <g>), but to try and install the older Razor1 which was available from CPAN (my preferred method for finding Perl modules). In fact, the Razor1 and Razor2 terminology wasn't too clear to me, though later I found out that it has to do with the protocols (and related versions) used by Razor. After initially installing Razor1, I wasn't quite sure how to make it work, did a little more digging, got some generous help from the SA list and downloaded the version 2 sources from the Source Forge site. 3) Just curious, but why isn't Razor2 on CPAN? Is it because it is still in development? It might've made installation go easier, if it had been on CPAN (see below). Or would it? 4) I tried the usual perl Makefile.PL; make; make test sequence, but ran into lots of dependencies on Perl modules that weren't installed on our Redhat 7.3 version 5.6.1 of Perl (sse below). For some reason, the auto-import of required modules didn't seem to work as well as it usually does on modules that I've imported before from CPAN. I had to manually install modules, and ended up with quite a long list before Razor seemed happy. Here's the entire list of imported modules (some of them have to do with CPAN, testing harnesses, readline editing of CPAN's shell, but many/most were related to Razor and/or SA dependencies): Archive-Tar-0.22 Digest-Nilsimsa-0.06 Net-Telnet-3.03 Attribute-Handlers-0.77 Digest-SHA1-2.01 Params-Validate-0.24 Bundle-libnet-1.00 Error-0.15 Term-ReadLine-Perl-1.0203 CPAN-1.63 Exception-Class-1.05 TermReadKey-2.21 CPAN-WAIT-0.27 HTML-Mason-1.13 Test-Harness-2.26 Cache-Cache-1.01 HTML-Parser-3.26 Test-Simple-0.47 Class-Container-0.08 MD5-2.02 Time-HiRes-1.36 Class-Data-Inheritable-0.02 MIME-Base64-2.12 libnet-1.12 Compress-Zlib-1.16 Mail-Audit-2.1 razor-agents-2.14 Devel-StackTrace-1.00 Mail-SpamAssassin-2.41 Digest-HMAC-1.01 Net-DNS-0.28 5) I didn't read the Razor documentation carefully, but for some reason it didn't jump out at me that I'd have to register with Razor before the basic spam detection would work. I thought that registration should only be necessary if our site was going to report spam. 6) When I first ran Razor without registration, it didn't tell me in any direct way that I'd need to register first. In fact, it seemed to fail with the following Perl diagnostic: % spamassassin -D -t < spam debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/home/gary/.spamassassin" for user state dir debug: using "/home/gary/.spamassassin/user_prefs" for user prefs file debug: is Net::DNS::Resolver unavailable? 1 debug: is DNS available? 0 I tried finding Net::DNS::Resolver in places like CPAN, and perhaps I already have it installed in Net::DNS, but in any event the message above seemed to go away after I registered with Razor, and then Razor started working after that. Thanks to Justin for offering the critical hint that I should try the registration process first. 7) I saw one apparent glitch in the Razor installation process: Writing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/razor-agents/.packlist /usr/bin/perl -we 'exit unless -f $ARGV[0];' -e 'print "WARNING: I have found an old package in\n";' -e 'print "\t$ARGV[0].\n";' -e 'print "Please make sure the two installations are not conflicting\n";' \ /usr/lib/perl5/5.6.1/i386-linux/auto/razor-agents /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -MExtUti ls::Command -e mkpath /usr/bin/perl -e '$\="\n\n";' -e 'print "=head2 ", scalar(localtime), ": C<", shift, ">", " L<", $arg=shift, "|", $arg, ">";' -e 'print "=over 4";' -e 'while (defined($key = shift) and defined($val = shift)){print "=item *";print "C<$key: $val>";}' -e 'print "=back";' \ "Module" "razor-agents" \ "installed into" "/usr/lib/perl5/site_perl/5.6.1" \ LINKTYPE "dynamic" \ VERSION "2.14" \ EXE_FILES "bin/razor-client" \ >> /perllocal.pod echo Appending installation info to /usr/lib/perl5/5.6.1/i386-linux/perllocal.pod Appending installation info to /usr/lib/perl5/5.6.1/i386-linux/perllocal.pod blib/script/razor-client I thought the ">> /perllocal.pod" line looked odd. Is it normal to write documentation into the root directory? (<g>). Is there some Make parameter, or environment variable that should've been set when I ran "make"? ------------------------------------------------------------------ The following is the lengthy text of the e-mail's that I sent to the SA talk list, which give the gorey details. From: [EMAIL PROTECTED] on behalf of Gary Funck [[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 9:19 AM To: Spamassassin List Subject: RE: [SAtalk] Razor2 method not found > > razor2 check skipped: No such file or directory Can't locate object > method "new" via package "Razor2::Client::Agent" at > /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Dns.pm line 374. > > I can't see what changes between the two ways of running SA. Razor > itself seems to work properly however I invoke it. It's not a problem > for me, but if anything occurs, I'd be interested to know. > > > The error you posted previously: > > > > razor2 check skipped: Can't locate object method "new" via > > package "Razor2::Client::Agent" at > > /usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Dns.pm line 375. > > > > indicates that the problem is loading the Razor2 module, not SA's Dns > > module. Line 6 is before any of the "use lib" and @INC manipulations, > > and when Dns.pm gets loaded, it loads in the Razor modules, > > if they exist. [...] Not exactly related to this thread - I'd like to give Vipul's Razor a try, but am wondering: - how has Vipul's Razor been working for you? I saw some reports about VR taking a long time to process incoming messages. We don't have a lot of mail traffic here, so that may not be an issue, but we'd like to know in advance if there are going to be problems. - I'm a bit confused regarding the distinction between Razor, and Razor2. I added the Razor package via CPAN, but I see from e-mail traffic on this list that if I'm running SA version 2.41, I should go to Razor2? I did see a installation warning message similar to the one excerpted above when I tried installing SA version 2.41, so I'm pretty sure that I don't have Razor2 yet. - I'm a little unclear on whether Razor2 comes along with version 2.14 of VR, which I'm planning on downloading from Source Forge, http://prdownloads.sourceforge.net/razor/razor-agents-2.14.tar.gz?download and whether Razor is the same thing as "Razor Agents" - I assume that they are (I haven't yet dived into the Razor documentation.) - Assuming that I've installed Razor Agents version 2.14 above, what steps do I need to take to enable Razor in SA? (I fished around in the INSTALL file, and the mailing list archive for SA, but nothing jumped out giving me a "how to". If this is a FAQ, I'd appreciate a pointer to the documentation. Otherwise, a quick install walk through would be appreciated.) ------------------------------------------------------------- From: [EMAIL PROTECTED] on behalf of Gary Funck [[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 9:53 AM To: Spamassassin List Subject: RE: [SAtalk] Razor2 method not found follow up: > > - I'm a bit confused regarding the distinction between Razor, and > Razor2. I > added the Razor package via CPAN, but I see from e-mail traffic > on this list > that if I'm running SA version 2.41, I should go to Razor2? I did see a > installation warning message similar to the one excerpted above > when I tried > installing SA version 2.41, so I'm pretty sure that I don't have > Razor2 yet. > > - I'm a little unclear on whether Razor2 comes along with version 2.14 of > VR, which I'm planning on downloading from Source Forge, > http://prdownloads.sourceforge.net/razor/razor-agents-2.14.tar.gz?download > and whether Razor is the same thing as "Razor Agents" - I assume that they > are (I haven't yet dived into the Razor documentation.) > I've now installed Razor2. A question regarding Perl -- I had to install Razor2 manually, and it seemed to call for a half dozen pre-reqs that weren't instaled in our Perl 5.6.1 that comes bundled with Redhat. I ended up installing each pre-req manually via CPAN. Is there a more automatic way to install pre-requisites when installing a single Perl module manually (ie, via "perl Makefile.PL; make; make test; make install"? Thanks. ------------------------------------------------------- From: [EMAIL PROTECTED] on behalf of Gary Funck [[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 10:52 AM To: Spamassassin List Subject: RE: [SAtalk] Razor2 method not found follow up: > > - I'm a bit confused regarding the distinction between Razor, and > > Razor2. I > > added the Razor package via CPAN, but I see from e-mail traffic > > on this list > > that if I'm running SA version 2.41, I should go to Razor2? I did see a > > installation warning message similar to the one excerpted above > > when I tried > > installing SA version 2.41, so I'm pretty sure that I don't have > > Razor2 yet. > > > > - I'm a little unclear on whether Razor2 comes along with version 2.14 of > > VR, which I'm planning on downloading from Source Forge, > > http://prdownloads.sourceforge.net/razor/razor-agents-2.14.tar.gz?download > > and whether Razor is the same thing as "Razor Agents" - I assume that they > > are (I haven't yet dived into the Razor documentation.) > > > > I've now installed Razor2. [...] Question: Now that I've installed Razor2, do I need to re-install SA, so that it knows about Razor2? What's the easiest method to do a re-install on SA, assuming it was originally installed via CPAN? ------------------------------------------------------- From: [EMAIL PROTECTED] on behalf of Gary Funck [[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 3:31 PM To: Spamassassin List Subject: [SAtalk] checking out Razor2 (and SA 2.41) install - Net::DNS:Resolver problem? Hello, after installing Razor2, I had to bang through a few more installation difficulties. At this point, I've installed the following additional modules: Archive-Tar-0.22 Digest-Nilsimsa-0.06 Net-Telnet-3.03 Attribute-Handlers-0.77 Digest-SHA1-2.01 Params-Validate-0.24 Bundle-libnet-1.00 Error-0.15 Term-ReadLine-Perl-1.0203 CPAN-1.63 Exception-Class-1.05 TermReadKey-2.21 CPAN-WAIT-0.27 HTML-Mason-1.13 Test-Harness-2.26 Cache-Cache-1.01 HTML-Parser-3.26 Test-Simple-0.47 Class-Container-0.08 MD5-2.02 Time-HiRes-1.36 Class-Data-Inheritable-0.02 MIME-Base64-2.12 libnet-1.12 Compress-Zlib-1.16 Mail-Audit-2.1 razor-agents-2.14 Devel-StackTrace-1.00 Mail-SpamAssassin-2.41 Digest-HMAC-1.01 Net-DNS-0.28 (we're running Perl 5.6.1 built for Redhat 7.3). When I run a sample spam message through "spamassassin -D -t", I see the following diagnostics: % spamassassin -D -t < spam | & less debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/home/gary/.spamassassin" for user state dir debug: using "/home/gary/.spamassassin/user_prefs" for user prefs file debug: is Net::DNS::Resolver unavailable? 1 debug: is DNS available? 0 debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=-0.8 debug: spam-phrase score: 2.33725798011512: hits: for free, this not debug: check_for_very_long_text: found 1658 bytes debug: check_for_very_long_text: found 1658 bytes debug: running raw-body-text per-line regexp tests; score so far=1.8 debug: running uri tests; score so far=1.8 debug: uri tests: Done uriRE debug: running full-text regexp tests; score so far=1.8 debug: Razor2 is available debug: entering helper-app run mode razor2 check skipped: No such file or directory Can't locate Net/DNS/Resolver.pmdebug: running full-text regexp tests; score so far=1.8 debug: Razor2 is available debug: entering helper-app run mode razor2 check skipped: No such file or directory Can't locate Net/DNS/Resolver.pm in @INC (@INC contains: lib /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at (eval 18) line 2. BEGIN failed--compilation aborted at (eval 18) line 2. ...propagated at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Dns.pm line 391. debug: leaving helper-app run mode Razor-Log: Computed razorhome from env: /home/gary/.razor Razor-Log: Found razorhome: /home/gary/.razor Razor-Log: No /home/gary/.razor/razor-agent.conf found, skipping. Razor-Log: No razor-agent.conf found, using defaults. Sep 17 14:41:52.646352 check[8887]: [ 1] [bootup] Logging initiated LogDebugLevel=9 to stdout Sep 17 14:41:52.646631 check[8887]: [ 5] computed razorhome=/home/gary/.razor, conf=, ident=/home/gary/.razor/identity Sep 17 14:41:52.646745 check[8887]: [ 8] Client supported_engines: 1 2 3 4 Sep 17 14:41:52.647094 check[8887]: [ 8] prep_mail done: mail 1 headers=991, mime0=1688 Sep 17 14:41:52.647280 check[8887]: [ 5] Can't read file /home/gary/.razor/servers.discovery.lst: No such file or directory Sep 17 14:41:52.647346 check[8887]: [ 5] Can't read file /home/gary/.razor/servers.nomination.lst: No such file or directory Sep 17 14:41:52.647398 check[8887]: [ 5] Can't read file /home/gary/.razor/servers.catalogue.lst: No such file or directory Sep 17 14:41:52.647563 check[8887]: [ 5] no listfile: /home/gary/.razor/servers.catalogue.lst Sep 17 14:41:52.647629 check[8887]: [ 6] no discovery listfile: /home/gary/.razor/servers.discovery.lst Sep 17 14:41:52.647664 check[8887]: [ 5] Finding Discovery Servers via DNS in the razor2.cloudmark.com zone Sep 17 14:41:52.647961 check[8887]: [ 2] Net::DNS::Resolver not found, please to fix. debug: DCC is not available: dccproc not found debug: Razor1 is not available debug: Pyzor is not available: pyzor not found debug: forged_rcvd_trail: entry 0: by=domain.com from=domain.com mismatches=0 debug: forged_rcvd_trail: entry 1: by=domain.com from=md009.com mismatches=0 debug: running meta tests; score so far=1.8 debug: is spam? score=1.8 required=5 tests=FWD_MSG,GIVING_AWAY,NO_OBLIGATION,NO_PURCHASE,SPAM_PHRASE_02_03 Above, these two lines seem important: debug: is Net::DNS::Resolver unavailable? 1 debug: is DNS available? 0 I've installed Net::DNS (Net-DNS-0.28 from CPAN), but it apparently doesn't include Net::DNS::Resolver. CPAN offers up the following for "i /Resolver/": cpan> i /Resolver/ CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Mon, 16 Sep 2002 21:52:11 GMT Module Apache::DnsZone::Resolver (T/TH/THOMAS/Apache-DnsZone-0.2.tar.gz) Module HTML::Mason::Resolver (D/DR/DROLSKY/HTML-Mason-1.13.tar.gz) Module HTML::Mason::Resolver::File (D/DR/DROLSKY/HTML-Mason-1.13.tar.gz) Module HTML::Mason::Resolver::File::ApacheHandler (D/DR/DROLSKY/HTML-Mason-1.13.tar.gz) Module HTML::Mason::Resolver::Null (D/DR/DROLSKY/HTML-Mason-1.13.tar.gz) Module Meta::Lang::Xml::Resolver (V/VE/VELTZER/Meta-0.06.tar.gz) Module SMIL::MediaResolver (C/CD/CDAWSON/Smil-0.86.tar.gz) 7 items found No DNS::Resolver, but there is HTML::Mason::Resolver, that is already installed at this point. Looking here, http://www.net-dns.org/download/ It seems that version 0.28 is the latest, and that is the version that I installed. According to the documentation, http://www.net-dns.org/docs/Net/DNS/Resolver.html this should have also included Net::DNS::Resolver. What gives? As an aside, if I run "make test" in the Net::DNS build directory, I see the following: t/01-resolver-env.....ok t/01-resolver-file....ok 7/8 skipped: Could not read configuration file t/02-header...........ok t/03-question.........ok t/04-packet...........ok t/05-rr...............ok t/06-update...........ok t/07-misc.............ok t/08-online...........ok All tests successful, 7 subtests skipped. Files=9, Tests=418, 1 wallclock secs ( 0.84 cusr + 0.07 csys = 0.91 CPU) It looks like the failing test above is looking for a file called ".resolv.conf", but couldn't find it, fwiw. Any help/suggestions would be appreciated. PS: I should add that the test system I'm running on may have some problems in its DNS/named/resolver configuration area. Basically, things are working, but it is possible that there is an inconsistency, or something missing, in the DNS/resolver configuration. Is it possible that is what the "resolver-file" test is complaining about? ------------------------------------------------------- From: [EMAIL PROTECTED] on behalf of Gary Funck [[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 6:36 PM To: Spamassassin List Cc: Justin Mason Subject: RE: [SAtalk] checking out Razor2 (and SA 2.41) install - Net::DNS:Resolver problem? Hi Justin, I'm a novice at the adiministration of Perl libraries (clearly), so am not sure how things are supposed to look when they work, but the following output from "make install" inside of the razor-agents-2.14 directory looked a little odd to me: # make install /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /bin/sh -c true /usr/bin/perl -we '%m=@ARGV;for (keys %m){' -e 'next if -e $m{$_} && -M $m{$_} < -M $_ && -M $m{$_} < -M "Makefile";' -e 'print "Manifying $m{$_}\n";' -e 'system(qq[$^X ].q["-I/usr/lib/perl5/5.6.1/i386-linux" "-I/usr/lib/perl5/5.6.1" /usr/bin/pod2man ].qq[$_>$m{$_}])==0 or warn "Couldn\047t install $m{$_}\n";' -e 'chmod(oct(644)), $m{$_} or warn "chmod 644 $m{$_}: $!\n";}' \ docs/razor-report.pod \ blib/man1/razor-report.1 \ docs/razor-revoke.pod \ blib/man1/razor-revoke.1 \ docs/razor-check.pod \ blib/man1/razor-check.1 \ docs/razor-admin.pod \ blib/man1/razor-admin.1 \ lib/Razor2/Errorhandler.pm \ blib/man3/Razor2::Errorhandler.3pm \ docs/razor-agent.conf.pod \ blib/man5/razor-agent.conf.5 \ docs/razor-agents.pod \ blib/man5/razor-agents.5 \ docs/razor-whitelist.pod \ blib/man5/razor-whitelist.5 /bin/sh -c true /usr/bin/perl -Iblib/lib -I/usr/lib/perl5/5.6.1 -MExtUtils::Install -e "install({@ARGV},'0',0,'0');" \ read /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/razor-agents/.packlist \ write /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/razor-agents/.packlist \ blib/lib /usr/lib/perl5/site_perl/5.6.1 \ blib/arch /usr/lib/perl5/site_perl/5.6.1/i386-linux \ blib/bin /usr/bin \ blib/script /usr/bin \ \ \ blib/man1 /usr/share/man/man1 \ blib/man3 /usr/share/man/man3 Installing /usr/bin/razor-check Installing /usr/bin/razor-report Installing /usr/bin/razor-revoke Installing /usr/bin/razor-admin Writing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/razor-agents/.packlist /usr/bin/perl -we 'exit unless -f $ARGV[0];' -e 'print "WARNING: I have found an old package in\n";' -e 'print "\t$ARGV[0].\n";' -e 'print "Please make sure the two installations are not conflicting\n";' \ /usr/lib/perl5/5.6.1/i386-linux/auto/razor-agents /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -MExtUti ls::Command -e mkpath /usr/bin/perl -e '$\="\n\n";' -e 'print "=head2 ", scalar(localtime), ": C<", shift, ">", " L<", $arg=shift, "|", $arg, ">";' -e 'print "=over 4";' -e 'while (defined($key = shift) and defined($val = shift)){print "=item *";print "C<$key: $val>";}' -e 'print "=back";' \ "Module" "razor-agents" \ "installed into" "/usr/lib/perl5/site_perl/5.6.1" \ LINKTYPE "dynamic" \ VERSION "2.14" \ EXE_FILES "bin/razor-client" \ >> /perllocal.pod echo Appending installation info to /usr/lib/perl5/5.6.1/i386-linux/perllocal.pod Appending installation info to /usr/lib/perl5/5.6.1/i386-linux/perllocal.pod blib/script/razor-client I thought the ">> /perllocal.pod" line looked odd. Is it normal to write documentation into the root directory? (<g>). Is there some Make parameter, or environment variable that should've been set when I ran "make"? Also, note: no "razor-register" command is built? (per your suggestion below). Do you mena "razor-admin -register"? per, NAME "razor-admin" - Razor Registering Agent SYNOPSIS razor-admin [options] [ -register | -create | -discover ] DESCRIPTION "razor-admin" is the Razor Agent that performs administra- tive functions, most notably registering (-register) USAGE "razor-admin" must have one of the following arguments: ""-register"" Registers a new identity, used for authenticating with Razor Nomination Servers. Identities are a user + password pair stored in "<razorhome>/inden- tity-<user>". The first time "razor-admin -register" exits successfully, a symlink "identity" is created to point to the active "identity-<user>" file. After that, new identities can be created, but in order to [...] I just tried it, and it seems to work: % razor-admin -register Register successful. Identity stored in /home/gary/.razor/identity-ruBFDWGCDh It seems that by registering that I avoided the error path noted in my previous e-mail where DNS::Net::Resolver was called, but does not exist in my Perl hierarchy. Here's the new output from SA ans Razor2: % spamassassin -t -D < spam debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/home/gary/.spamassassin" for user state dir debug: using "/home/gary/.spamassassin/user_prefs" for user prefs file debug: is Net::DNS::Resolver unavailable? 0 debug: trying (3) microsoft.com... debug: looking up MX for 'microsoft.com' debug: MX for 'microsoft.com' exists? 1 debug: MX lookup of microsoft.com succeeded => Dns available (set dns_available to hardcode) debug: is DNS available? 1 debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=-0.8 debug: spam-phrase score: 2.33725798011512: hits: for free, this not debug: check_for_very_long_text: found 1658 bytes debug: check_for_very_long_text: found 1658 bytes debug: running raw-body-text per-line regexp tests; score so far=1.8 debug: running uri tests; score so far=1.8 debug: uri tests: Done uriRE debug: running full-text regexp tests; score so far=1.8 debug: Razor2 is available debug: entering helper-app run mode Razor-Log: Computed razorhome from env: /home/gary/.razor Razor-Log: Found razorhome: /home/gary/.razor Razor-Log: No /home/gary/.razor/razor-agent.conf found, skipping. Razor-Log: No razor-agent.conf found, using defaults. Sep 17 18:21:13.944785 check[13050]: [ 1] [bootup] Logging initiated LogDebugLevel=9 to stdout Sep 17 18:21:13.945205 check[13050]: [ 5] computed razorhome=/home/gary/.razor, conf=, ident=/home/gary/.razor/identity-ruBFDWGCDh Sep 17 18:21:13.945408 check[13050]: [ 8] Client supported_engines: 1 2 3 4 Sep 17 18:21:13.945814 check[13050]: [ 8] prep_mail done: mail 1 headers=991, mime0=1688 Sep 17 18:21:13.946173 check[13050]: [ 5] read_file: 1 items read from /home/gary/.razor/servers.discovery.lst Sep 17 18:21:13.946355 check[13050]: [ 5] read_file: 1 items read from /home/gary/.razor/servers.nomination.lst Sep 17 18:21:13.946532 check[13050]: [ 5] read_file: 2 items read from /home/gary/.razor/servers.catalogue.lst Sep 17 18:21:13.946758 check[13050]: [ 9] Assigning defaults to honor.cloudmark.com Sep 17 18:21:13.946884 check[13050]: [ 9] Assigning defaults to truth.cloudmark.com Sep 17 18:21:13.946991 check[13050]: [ 9] Assigning defaults to fire.cloudmark.com Sep 17 18:21:13.947331 check[13050]: [ 5] read_file: 11 items read from /home/gary/.razor/server.truth.cloudmark.com.conf Sep 17 18:21:13.947574 check[13050]: [ 5] read_file: 11 items read from /home/gary/.razor/server.honor.cloudmark.com.conf Sep 17 18:21:13.947747 check[13050]: [ 5] 164301 seconds before closest server discovery Sep 17 18:21:13.947888 check[13050]: [ 6] truth.cloudmark.com is a Catalogue Server srl 60; computed min_cf=1, Server se: 0B Sep 17 18:21:13.948029 check[13050]: [ 8] Computed supported_engines: 1 2 4 Sep 17 18:21:13.948129 check[13050]: [ 8] Using next closest server truth.cloudmark.com:2703, cached info srl 60 Sep 17 18:21:13.948228 check[13050]: [ 8] mail 1 Subject: Fwd: FWD: Your Motorcycle sweepstake entry. Sep 17 18:21:13.949627 check[13050]: [ 6] preproc: mail 1.0 went from 1688 bytes to 1651 Sep 17 18:21:13.949751 check[13050]: [ 6] computing sigs for mail 1.0, len 1651Sep 17 18:21:13.951213 check[13050]: [ 6] skipping whitelist file (empty?): /home/gary/.razor/razor-whitelist Sep 17 18:21:13.951380 check[13050]: [ 5] Connecting to truth.cloudmark.com ...Sep 17 18:21:14.024607 check[13050]: [ 8] Connection established Sep 17 18:21:14.024813 check[13050]: [ 4] truth.cloudmark.com >> 29 server greeting: sn=C&srl=60&ep4=7542-10&a=l Sep 17 18:21:14.025033 check[13050]: [ 6] truth.cloudmark.com is a Catalogue Server srl 60; computed min_cf=1, Server se: 0B Sep 17 18:21:14.025217 check[13050]: [ 8] Computed supported_engines: 1 2 4 Sep 17 18:21:14.025408 check[13050]: [ 8] mail 1.0 e2 sig: 7xXJ23U-d-cmHKjCZXYPwDbJj0oA Sep 17 18:21:14.025489 check[13050]: [ 8] mail 1.0 e4 sig: d5Xa7scmZCsLn2zTi_O_Da5BivMA Sep 17 18:21:14.025592 check[13050]: [ 8] preparing 3 queries Sep 17 18:21:14.025855 check[13050]: [ 8] sending 1 batches Sep 17 18:21:14.026030 check[13050]: [ 4] truth.cloudmark.com << 136 Sep 17 18:21:14.026089 check[13050]: [ 6] -a=c&e=1&s=LrbB0d4TisvWXHsvh4pIfK8sF9sA a=c&e=2&s=7xXJ23U-d-cmHKjCZXYPwDbJj0oA a=c&e=4&ep4=7542-10&s=d5Xa7scmZCsLn2zTi_O_Da5BivMA . Sep 17 18:21:14.071752 check[13050]: [ 4] truth.cloudmark.com >> 19 Sep 17 18:21:14.071823 check[13050]: [ 6] response to sent.1 -p=0 p=0 p=0 . Sep 17 18:21:14.072128 check[13050]: [ 6] mail 1 e=1 sig=LrbB0d4TisvWXHsvh4pIfK8sF9sA: sig not found. Sep 17 18:21:14.072284 check[13050]: [ 6] mail 1.0 e=2 sig=7xXJ23U-d-cmHKjCZXYPwDbJj0oA: sig not found. Sep 17 18:21:14.072352 check[13050]: [ 6] mail 1.0 e=4 sig=d5Xa7scmZCsLn2zTi_O_Da5BivMA: sig not found. Sep 17 18:21:14.072456 check[13050]: [ 7] method 5: mail 1.0: no-contention part, spam=0 Sep 17 18:21:14.072518 check[13050]: [ 7] method 5: mail 1: a non-contention part not spam, mail not spam Sep 17 18:21:14.072576 check[13050]: [ 3] mail 1 is not known spam. Sep 17 18:21:14.072682 check[13050]: [ 5] disconnecting from server truth.cloudmark.com Sep 17 18:21:14.072822 check[13050]: [ 4] truth.cloudmark.com << 5 Sep 17 18:21:14.072893 check[13050]: [ 6] a=q debug: leaving helper-app run mode debug: DCC is not available: dccproc not found debug: Razor1 is not available debug: Pyzor is not available: pyzor not found debug: DNS MX records found: 1 debug: forged_rcvd_trail: entry 0: by=domain.com from=domain.com mismatches=0 debug: forged_rcvd_trail: entry 1: by=domain.com from=md009.com mismatches=0 debug: running meta tests; score so far=1.8 debug: is spam? score=1.8 required=5 tests=FWD_MSG,GIVING_AWAY,NO_OBLIGATION,NO_PURCHASE,SPAM_PHRASE_02_03 Question: if we use spamassassin on a per-user basis, invoked from procmailrc, will each user have to run "razor-admin -register" first? Is there way to register with Razor just once per system? -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Justin Mason > Sent: Tuesday, September 17, 2002 4:28 PM > To: Gary Funck > Cc: Spamassassin List > Subject: Re: [SAtalk] checking out Razor2 (and SA 2.41) install - > Net::DNS:Resolver problem? > > > > "Gary Funck" said: > > > Hello, after installing Razor2, I had to bang through a few more > > installation difficulties. At this point, I've installed the following > > additional modules: > > > > Archive-Tar-0.22 Digest-Nilsimsa-0.06 Net-Telnet-3.03 > > Attribute-Handlers-0.77 Digest-SHA1-2.01 Params-Validate-0.24 > > Bundle-libnet-1.00 Error-0.15 > > Term-ReadLine-Perl-1.0203 > > CPAN-1.63 Exception-Class-1.05 TermReadKey-2.21 > > CPAN-WAIT-0.27 HTML-Mason-1.13 Test-Harness-2.26 > > Cache-Cache-1.01 HTML-Parser-3.26 Test-Simple-0.47 > > Class-Container-0.08 MD5-2.02 Time-HiRes-1.36 > > Class-Data-Inheritable-0.02 MIME-Base64-2.12 libnet-1.12 > > Compress-Zlib-1.16 Mail-Audit-2.1 razor-agents-2.14 > > Devel-StackTrace-1.00 Mail-SpamAssassin-2.41 > > Digest-HMAC-1.01 Net-DNS-0.28 > > yikes! > > > razor2 check skipped: No such file or directory Can't locate > > Net/DNS/Resolver.pmdebug: running full-text regexp tests; score so far=1.8 > > Does Razor itself -- razor-register et al -- work? I would imagine > not, given that error msg. > ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users