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

Reply via email to