SURBL not working properly in MailScanner 4.35.9

Remco Barendse mailscanner at BARENDSE.TO
Mon Nov 8 14:19:56 GMT 2004


My perl-URI fails to build completely:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/abs............ok
t/clone..........ok
t/data...........ok
t/escape.........ok
t/file...........ok
t/ftp............ok
t/generic........ok
t/heuristic......FAILED test 7
         Failed 1/15 tests, 93.33% okay
t/http...........ok
t/ldap...........ok
t/mailto.........ok
t/mix............ok
t/mms............ok
t/news...........ok
t/old-absconf....ok
t/old-base.......ok
t/old-relbase....ok
t/pop............ok
t/query-param....ok
t/query..........ok
t/rel............ok
t/rfc2732........ok
t/roy-test.......ok
t/rsync..........ok
t/rtsp...........ok
t/sip............ok
t/split..........ok
t/storable.......ok
t/urn-isbn.......ok
t/urn-oid........ok
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/heuristic.t               15    1   6.67%  7
Failed 1/30 test scripts, 96.67% okay. 1/467 subtests failed, 99.79% okay.
make: *** [test_dynamic] Error 29
error: Bad exit status from /var/tmp/rpm-tmp.53495 (%build)


Haven't got a clue what that error is supposed to be telling me :)


On Fri, 5 Nov 2004, Alden Levy wrote:

>> Date:    Fri, 5 Nov 2004 10:26:56 +0100
>> From:    Jan-Peter Koopmann <Jan-Peter.Koopmann at SECEIDOS.DE>
>> Subject: Re: SURBL not working properly in MailScanner 4.35.9
>>
>> On Friday, November 05, 2004 9:12 AM MailScanner mailing list wrote:
>>
>>> Would you mind sharing how to put init.pre and 25_uribl.c in
>>> spam.assassin.prefs.conf file ?
>>
>> There is no need for putting anything in spam.assassin.prefs.conf as far
>> as I know. If you have=20
>>
>> loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
>>
>> in your init.pre that should be sufficient. Please run a testmessage
>> through spamassassin with the debugging option
>>
>> spamassassin -D < testmessage
>>
>> and analyze the output. It did not work here at first until I figured
>> out that Net::DNS was either not installed or the wrong version (can't
>> remember). The debug log should show you though.
>>
>> Kind regards,
>>   JP
>>
> JP,
> You may be on to something with Net::DNS, although it *seems* to work.
> The output of spamassassin -D < testmessage (with a SURBL URL in it) is
> correct with a standard setup.
>
> My Net::DNS is 0.48, but when I try to force install (with cpan), I get a
> few errors when I enable the Internet tests:
> t/00-load..................ok
> t/00-pod...................ok
> t/00-version...............ok
> t/01-resolver-env..........ok
> t/01-resolver-file.........ok
>        7/8 skipped: Could not read configuration file
> t/01-resolver-opt..........ok
> t/01-resolver..............ok
> t/02-header................ok
> t/03-question..............ok
> t/04-packet-unique-push....ok
> t/04-packet................ok
> t/05-rr-sshfp..............skipped
>        all skipped: Digest::BubbleBabble not installed.
> t/05-rr-txt................ok
> t/05-rr-unknown............ok
> t/05-rr....................ok
> t/06-update................ok
> t/07-misc..................ok
> t/08-online................ok
> t/09-tkey..................ok
> t/10-recurse...............ok 2/12Server [198.41.0.4] did not give answers
> at /root/.cpan/build/Net-DNS-0.48/blib/lib/Net/DNS/Resolver/Recurse.pm
> line 73.
> t/10-recurse...............NOK 4
> #     Failed test (t/10-recurse.t at line 30)
> t/10-recurse...............NOK 5
> #     Failed test (t/10-recurse.t at line 36)
> Can't call method "answer" on an undefined value at t/10-recurse.t line 37.
> # Looks like you planned 12 tests but only ran 5.
> # Looks like your test died just after 5.
> t/10-recurse...............dubious
>        Test returned status 255 (wstat 65280, 0xff00)
> Scalar found where operator expected at (eval 154) line 1, near "'int'
> $__val"
>        (Missing operator before   $__val?)
> DIED. FAILED tests 4-12
>        Failed 9/12 tests, 25.00% okay
> Failed Test    Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/10-recurse.t  255 65280    12   16 133.33%  4-12
> 1 test and 7 subtests skipped.
> Failed 1/20 test scripts, 95.00% okay. 9/872 subtests failed, 98.97% okay.
> make: *** [test_dynamic] Error 2
>  /usr/bin/make test -- NOT OK
> Running make install
> cpan> force install Net::DNSRunning Mkbootstrap for Net::DNS ()
> chmod 644 DNS.bs
> rm -f blib/arch/auto/Net/DNS/DNS.so
> LD_RUN_PATH="/lib" gcc  -shared -L/usr/local/lib DNS.o  -o
> blib/arch/auto/Net/DNS/DNS.so   -lresolv
> chmod 755 blib/arch/auto/Net/DNS/DNS.so
> cp DNS.bs blib/arch/auto/Net/DNS/DNS.bs
> chmod 644 blib/arch/auto/Net/DNS/DNS.bs
> Files found in blib/arch: installing files in blib/lib into architecture
> dependent library tree
> Writing
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/Net/DNS/.packlist
> Appending installation info to
> /usr/lib/perl5/5.8.1/i386-linux-thread-multi/perllocal.pod
>  /usr/bin/make install  -- OK
>
> I'd love to go back to using SURBL the "normal" way, so any advice is
> appreciated.
>
> I've attached my s.a.prefs.conf for others to use (e.g., Remco) until we
> fix this problem.
>
> Thanks,
> Alden
>
> Alden Levy
> Engine No. 9, Inc.
> 130 West 57th Street, Suite 12E
> New York, NY 10019
> (212) 981-1122
> (212) 725-7202 (fax)
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).




More information about the MailScanner mailing list