Where does plugins disappear in 3.1.8?

2007-06-08 Thread Andreev Nikita
Hi.

There is an interesting difference between 3.1.8 and 3.2.0 releases.

Here is the ./Mail-SpamAssassin-3.2.0/lib/Mail/SpamAssassin/Plugin directory of 
3.2.0

ASN.pm
AWL.pm
AccessDB.pm
AntiVirus.pm
AutoLearnThreshold.pm
Bayes.pm
BodyEval.pm
BodyRuleBaseExtractor.pm
Check.pm
DCC.pm
DKIM.pm
DNSEval.pm
DomainKeys.pm
HTMLEval.pm
HTTPSMismatch.pm
Hashcash.pm
HeaderEval.pm
ImageInfo.pm
MIMEEval.pm
MIMEHeader.pm
OneLineBodyRuleType.pm
Pyzor.pm
Razor2.pm
RelayCountry.pm
RelayEval.pm
ReplaceTags.pm
Rule2XSBody.pm
SPF.pm
Shortcircuit.pm
SpamCop.pm
Test.pm
TextCat.pm
URIDNSBL.pm
URIDetail.pm
URIEval.pm
VBounce.pm
WLBLEval.pm
WhiteListSubject.pm

And here is 3.1.8:

AWL.pm
AccessDB.pm
AntiVirus.pm
AutoLearnThreshold.pm
DCC.pm
DKIM.pm
DomainKeys.pm
Hashcash.pm
MIMEHeader.pm
Pyzor.pm
Razor2.pm
RelayCountry.pm
ReplaceTags.pm
SPF.pm
SpamCop.pm
Test.pm
TextCat.pm
URIDNSBL.pm
WhiteListSubject.pm

As u can see lots of plugins are absent. Bayes.pm for example. Can
somebody explain this?

Regards,
Andreev Nikita.



Re[2]: Strange inconsistency

2007-06-04 Thread Andreev Nikita
Hi.

 # ls -l /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin
 AWL.pm
 AccessDB.pm
 AntiVirus.pm
 AutoLearnThreshold.pm
 DCC.pm
 DKIM.pm
 DomainKeys.pm
 Hashcash.pm
 MIMEHeader.pm
 Pyzor.pm
 Razor2.pm
 RelayCountry.pm
 ReplaceTags.pm
 SPF.pm
 SpamCop.pm
 Test.pm
 TextCat.pm
 URIDNSBL.pm
 WhiteListSubject.pm

 we also have the same ones here.

How can it be? Where is Bayes.pm for example?

 regards,
 Claudia

Regards,
Nikita.



Strange inconsistency

2007-06-03 Thread Andreev Nikita
Hi.

Gentoo
Spamassassin 3.1.8-r1

I have two spamassassin folders in my Gentoo Linux:

/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin
and
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin

But vendor_perl has less plugins in Plugin directory than site_perl.
For example Bayes.pm is absent! @INC contain:

# perl -e 'print @INC'
/etc/perl
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.6/i686-linux
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.8.8/i686-linux
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib/perl5/5.8.8/i686-linux
/usr/lib/perl5/5.8.8
/usr/local/lib/site_perl

So Spamassassin use some plugins from site and others from vendor. It
leads to warnings and errors. Can somebody explain me the difference
between site_perl and vendor_perl?

Before installing Gentoo portage I tried to install Spamassassin from
source. Maybe that lead to duplication and inconsistency. What should
I do to recover my Spamassassin installation? I tried to reinstall
portage but I still has less plugins in vendor_perl than needed. Is it
problems with Spamassassin Gentoo portage?

# ls -l /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin
AWL.pm
AccessDB.pm
AntiVirus.pm
AutoLearnThreshold.pm
DCC.pm
DKIM.pm
DomainKeys.pm
Hashcash.pm
MIMEHeader.pm
Pyzor.pm
Razor2.pm
RelayCountry.pm
ReplaceTags.pm
SPF.pm
SpamCop.pm
Test.pm
TextCat.pm
URIDNSBL.pm
WhiteListSubject.pm

Regards,
Nikita Andreev.



Warnings after upgrade

2007-05-20 Thread Andreev Nikita
Hi.

Gentoo
Spamassassin 3.1.8-r1

After upgrading from 3.1.3 to 3.1.8-r1 I found many warnings in logs
(see attachment) which fill up all space on my /var/log partition.

This warings is equal to warnings from spamd -D.

Also I attach versions of my perl modules. May be it will be usefull.

Any ideas?

Regards,
Andreev Nikita.May 21 09:23:22 mail spamd[4214]: plugin: failed to parse plugin (from @INC): 
Bareword Mail::SpamAssassin::Constants::CHARSETS_LIKELY_TO_FP_AS_CAPS not all
owed while strict subs in use at 
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/HeaderEval.pm line 965.
May 21 09:23:22 mail spamd[4214]: Compilation failed in require at (eval 55) 
line 1.
May 21 09:23:22 mail spamd[4214]: plugin: failed to create instance of plugin 
Mail::SpamAssassin::Plugin::HeaderEval: Can't locate object method new via pa
ckage Mail::SpamAssassin::Plugin::HeaderEval at 
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/HeaderEval.pm line 39.
May 21 09:23:22 mail spamd[4214]: plugin: failed to parse plugin (from @INC): 
CHARSETS_LIKELY_TO_FP_AS_CAPS is not exported by the Mail::SpamAssassin::Cons
tants module
May 21 09:23:22 mail spamd[4214]: Can't continue after import errors at 
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22
May 21 09:23:22 mail spamd[4214]: BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22.
May 21 09:23:22 mail spamd[4214]: Compilation failed in require at (eval 57) 
line 1.
May 21 09:23:22 mail spamd[4214]: plugin: failed to create instance of plugin 
Mail::SpamAssassin::Plugin::MIMEEval: Can't locate object method new via pack
age Mail::SpamAssassin::Plugin::MIMEEval at (eval 58) line 1.
May 21 09:23:23 mail spamd[4214]: Use of uninitialized value in concatenation 
(.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatu
s.pm line 2669.
May 21 09:23:23 mail spamd[4214]: Use of uninitialized value in concatenation 
(.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatu
s.pm line 2669.
May 21 09:23:23 mail spamd[4214]: Use of uninitialized value in concatenation 
(.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatu
s.pm line 2669.
May 21 09:23:23 mail spamd[4214]: Number found where operator expected at (eval 
230) line 10, near }
May 21 09:23:23 mail spamd[4214]:
May 21 09:23:23 mail spamd[4214]:  1
May 21 09:23:23 mail spamd[4214]:  (Missing operator before
May 21 09:23:23 mail spamd[4214]:
May 21 09:23:23 mail spamd[4214]:  1?)
May 21 09:23:23 mail spamd[4214]: rules: failed to run header tests, skipping 
some: syntax error at (eval 230) line 11, near ;
May 21 09:23:23 mail spamd[4214]: }
May 21 09:23:23 mail spamd[4214]: Use of uninitialized value in concatenation 
(.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatu
s.pm line 2669.
May 21 09:23:23 mail spamd[4214]: Use of uninitialized value in concatenation 
(.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatu
s.pm line 2669.
May 21 09:23:23 mail spamd[4214]: Use of uninitialized value in concatenation 
(.) or string at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatu
s.pm line 2669.
May 21 09:23:23 mail spamd[4214]: Number found where operator expected at (eval 
231) line 10, near }
May 21 09:23:23 mail spamd[4214]:
May 21 09:23:23 mail spamd[4214]:  1
May 21 09:23:23 mail spamd[4214]:  (Missing operator before
May 21 09:23:23 mail spamd[4214]:
May 21 09:23:23 mail spamd[4214]:  1?)
May 21 09:23:23 mail spamd[4214]: rules: failed to run header tests, skipping 
some: syntax error at (eval 231) line 11, near ;
May 21 09:23:23 mail spamd[4214]: }
(last error repeats many times)Package namespace installedlatest  in CPAN file
Archive::Tar   1.28  1.31  KANE/Archive-Tar-1.31.tar.gz
Compress::Zlib 1.41 2.004  PMQS/Compress-Zlib-2.004.tar.gz
Crypt::SSLeay  0.49  0.54  DLAND/Crypt-SSLeay-0.54.tar.gz
DBD::ExampleP 11.12 12.009532  TIMB/DBI-1.56.tar.gz
DBD::mysql   2.9007 4.004  CAPTTOFU/DBD-mysql-4.004.tar.gz
DB_File   1.814 1.815  PMQS/DB_File-1.815.tar.gz
Digest 1.13  1.15  GAAS/Digest-1.15.tar.gz
Digest::MD52.33  2.36  GAAS/Digest-MD5-2.36.tar.gz
ExtUtils::Command  1.07  1.13  
RKOBES/ExtUtils-Command-1.13.tar.gz
ExtUtils::Command::MM  0.03  0.07  
MSCHWERN/ExtUtils-MakeMaker-6.32.tar.gz
ExtUtils::Install  1.32  1.41  YVES/ExtUtils-Install-1.41.tar.gz
ExtUtils::Manifest 1.43  1.51  
RKOBES/ExtUtils-Manifest-1.51.tar.gz
HTML::Entities 1.32  1.35  GAAS/HTML-Parser-3.56.tar.gz
HTML::Form1.039 1.054  GAAS/libwww-perl-5.805.tar.gz
HTML::Tagset   3.03  3.10  PETDANCE/HTML-Tagset-3.10.tar.gz