> -----Original Message-----
> From: Vipul Ved Prakash [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 18, 2002 12:05 PM
> To: Gary Funck
> Cc: Razor User's List
> Subject: Re: [Razor-users] early experiences with Razor2 (and SA)
>
>
> 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::*
Just curious - why isn't Razor2 implemented as a better/faster upgrade from
Razor1? Are there incompatibilities? Is the user base so large that they
couldn't be converted over to Razor2 in a not-too-painful fashion? I found
the Razor1 (actually, it's just called Mail::Audit::Razor on CPAN, or is
that simply a front-end to Razor?) and Razor2 distinction to be confusing.
>
> > 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.
Okay thanks for the tip. I did finally get around to reading the INSTALL
file, and this step is well-described there:
1. Download the latest v2 razor-agents tarball from
http://sourceforge.net/project/showfiles.php?group_id=3978
2. Download the latest v2 razor-agents-sdk tarball from
http://sourceforge.net/project/showfiles.php?group_id=3978
Untar and run:
perl Makefile.PL
make
make test
make install
[...]
As a suggestion, I think placing the INSTALL instructions on the Source
Forge site would be helpful.
>
> > 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).
Right, I first installed Razor from CPAN, but I think it didn't work out of
the box so I went on to finding/building Razor2. (by not working out of the
box, I mean that I probably needed to do a razor-admin -create step, but
didn't).
> 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.
This is probably the critical step that I missed. Perhaps -register did some
of the work of -create -- enough so that I could then use Razor2?
>
> > 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.
See above. Also, keep in mind that I did first try installing/running
Razor1, apparently without doing all the necessary setup steps.
>
> > 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.
Hmmm, this seems a surprising place to put such information. Do all CPAN
Perl installs do this? I'd have expected /etc maybe, or /share, but I can
see how they might be NFS-mounted or some such, thus obscuring the
definition of "the system".
-------------------------------------------------------
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