On Wed, Sep 18, 2002 at 09:21:19AM -0700, Gary Funck wrote: > 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?
Well, mostly because I didn't want to fracture the namespace with a top-level Razor2:: entry without permisssion and changing everything to Mail::Razor2 is a little painful, given the way how my local CVS is setup, etc. Razor2 will be on CPAN someday, either as Razor2::* (if PAUSE admins are happy with that) or Mail::Razor2::* > 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): You could alternatively download razor-agents-sdk, that contains all modules required by Razor2. > 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. I am confused now. Razor1 doesn't ask you to do that, so probably did install Razor2 (which is a good thing). Also, you don't have to register if you are not reporting. However, you do have to create your config files, etc with razor-admin -create > 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. This is strange. I will look into it. > 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"? Yes, this is normal. perllocal.pod is a list of all modules installed on your system. cheers, vipul. -- Vipul Ved Prakash | "The future is here, it's just not Software Design Artist | widely distributed." http://vipul.net/ | -- William Gibson ------------------------------------------------------- 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