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? ------------------------------------------------------- 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 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk