Spamassassin lint errors

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Tue May 18 16:00:03 IST 2004


Gib

yeah the 5.005 tree is a pain like that - I'll decide when I want to
upgrade perl thanks very much...grrr

of course with FBSD you can always use the port perl and switch between
between the system and ports version using the supplied script (all it
does is relink /usr/bin/perl to the approriate version).

ok - I'd install the DNS perl module and make sure you've got the latest
berkley db module too. Other than that it should be Ok to ignore the
tests that failed.



Gib Gilbertson Jr. wrote:
> At 03:00 PM 5/18/2004 +0100, you wrote:
>
>> Gib Gilbertson Jr. wrote:
>> <snip> /etc/mail/spamassassin directory.
>>
>>>
>>> Any ideas? I tried adding them back one at a time and it makes no
>>> difference which rule I add back in I get error messages.
>>>
>>
>> yup - install 2.63 of spamassassin, that's the latest
>>
>> A cpan install should do it easily..
>
>
> OK, tried a cpan install of 2.63, and it tried to upgrade my perl also. I'm
> currently running perl 5.005_03 and because of some other items being run
> on the system can't upgrade it at this time.
>
> I then tried going to the SpamAssassin 2.63 source directory and ran make,
> it appeared fine. When I ran make test I get the following (this is the
> start of the first error message, everything above that is fine):
>
> t/razor2....................Pyzor -> check failed: Insecure $ENV{PATH}
> while running with -T switch at ../blib/lib/Mail/SpamAssassin/Dns.pm
> line 870.
>
> DCC -> check failed: Insecure $ENV{PATH} while running with -T switch at
> ../blib/lib/Mail/SpamAssassin/Dns.pm line 735.
>
> Cannot get host name of local machine at
> ../blib/lib/Mail/SpamAssassin/Util.pm line 444
>         Test skipped: razor-register has not been run, or
> /root/.razor/identity is unreadable.
> t/razor2....................ok 1/2Pyzor -> check failed: Insecure
> $ENV{PATH} while running with -T switch at
> ../blib/lib/Mail/SpamAssassin/Dns.pm line 870.
>
> DCC -> check failed: Insecure $ENV{PATH} while running with -T switch at
> ../blib/lib/Mail/SpamAssassin/Dns.pm line 735.
>
> Cannot get host name of local machine at
> ../blib/lib/Mail/SpamAssassin/Util.pm line 444
> t/razor2....................ok
>         2/2 skipped: razor-register has not been run, or
> /root/.razor/identity is unreadable.
> t/recips....................ok
> t/reportheader..............ok
> t/rule_tests................ok
> t/sha1......................ok
> t/spam......................ok
> t/spamc.....................ok
> t/spamc_B...................ok
> t/spamc_c...................ok
> t/spamc_c_stdout_closed.....ok
> t/spamd.....................ok
> t/spamd_allow_user_rules....ok
> t/spamd_hup.................skipped
>         all skipped: no reason given
> t/spamd_maxchildren.........ok
> t/spamd_maxsize.............ok
> t/spamd_port................ok
> t/spamd_protocol_10.........Can't locate bytes.pm in @INC (@INC contains:
> lib t . blib/arch blib/lib /usr/libdata/perl/5.00503/mach
> /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005 .
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
> /usr/libdata/perl/5.00503) at lib/Mail/SpamAssassin/Locales.pm line 4.
> BEGIN failed--compilation aborted at lib/Mail/SpamAssassin/Locales.pm
> line 4.
> BEGIN failed--compilation aborted at
> blib/lib/Mail/SpamAssassin/EvalTests.pm line 11.
> BEGIN failed--compilation aborted at
> blib/lib/Mail/SpamAssassin/PerMsgStatus.pm line 40.
> BEGIN failed--compilation aborted at t/spamd_protocol_10.t line 9.
> t/spamd_protocol_10.........dubious
>         Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 1-10
>         Failed 10/10 tests, 0.00% okay
> t/spamd_report..............ok
> t/spamd_report_ifspam.......ok
> t/spamd_stop................ok
> t/spamd_symbols.............ok
> t/spamd_unix................ok
> t/spamd_utf8................ok
> t/strip2....................ok
> t/stripmarkup...............ok
> t/utf8......................ok
> t/whitelist_addrs...........ok
> t/whitelist_to..............ok
> t/zz_cleanup................ok
> Failed Test           Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
>
> t/spamd_protocol_10.t    2   512    10   20 200.00%  1-10
> 1 test and 2 subtests skipped.
> Failed 1/39 test scripts, 97.44% okay. 10/275 subtests failed, 96.36% okay.
> *** Error code 35
>
> Stop in /root/.cpan/build/Mail-SpamAssassin-2.63.
>
> ===
>
> gib
>
>
>
>
>      Gib Gilbertson Jr.
>     Tierramiga Info Systems
>      619-287-8647 Support
>      http://www.tmisnet.com
>      San Diego's "Friendly ISP"
>
> -------------------------- MailScanner list ----------------------
> To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
> Before posting, please see the Most Asked Questions at
> http://www.mailscanner.biz/maq/     and the archives at
> http://www.jiscmail.ac.uk/lists/mailscanner.html
>


--
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.

**********************************************************************

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list