Re: Apache SpamAssassin 3.2.0 using older version of ImageInfo

2007-05-08 Thread .rp
looks like I found the problematic file:
70_imageinfo.cf 
was in /etc/mail/spamassassin




Re: Apache SpamAssassin 3.2.0 using older version of ImageInfo

2007-05-06 Thread r p
On 2 May 2007 at 15:32, Rose, Bobby wrote:

 The ImageInfo packaged with 3.2.0 isn't the latest version from SARE as
 it's missing the image_name_regex method.

 -=B



I can not even get the 3.2 to run cleanly due to ImageInfo.
When I leave the ImageInfo in the init.pre and in the plugin directory I get:
warn: Subroutine new redefined at /etc/mail/spamassassin/ImageInfo.pm
line 68.
[10997] warn: Subroutine _get_images redefined at
/etc/mail/spamassassin/ImageInfo.pm line 193.
[10997] warn: Subroutine image_named redefined at
/etc/mail/spamassassin/ImageInfo.pm line 230.
[10997] warn: Subroutine image_count redefined at
/etc/mail/spamassassin/ImageInfo.pm line 246.
[10997] warn: Subroutine pixel_coverage redefined at
/etc/mail/spamassassin/ImageInfo.pm line 262.
[10997] warn: Subroutine image_to_text_ratio redefined at
/etc/mail/spamassassin/ImageInfo.pm line 278.
[10997] warn: Subroutine image_size_exact redefined at
/etc/mail/spamassassin/ImageInfo.pm line 300.
[10997] warn: Subroutine image_size_range redefined at
/etc/mail/spamassassin/ImageInfo.pm line 316.
[10997] warn: Subroutine result_check redefined at
/etc/mail/spamassassin/ImageInfo.pm line 344.

If I take the ImageInfo out , I get:
 warn: plugin: failed to parse plugin /etc/mail/spamassassin/ImageInfo.pm:
Can't locate /etc/mail/spamassassin/ImageInfo.pm in @INC (@INC
contains: /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl)
at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/PluginHandler.pm line
97.

Running sendmail 8.13 and spamassassin via procmail.



Re: Apache SpamAssassin 3.2.0 using older version of ImageInfo

2007-05-06 Thread Theo Van Dinter
On Sun, May 06, 2007 at 02:59:13PM -0700, r p wrote:
 I can not even get the 3.2 to run cleanly due to ImageInfo.
 When I leave the ImageInfo in the init.pre and in the plugin directory I get:
 warn: Subroutine new redefined at /etc/mail/spamassassin/ImageInfo.pm
 line 68.

You have the standard ImageInfo plugin, and a different one in
/etc/mail/spamassassin.  Choose one.

 If I take the ImageInfo out , I get:
  warn: plugin: failed to parse plugin /etc/mail/spamassassin/ImageInfo.pm:
 Can't locate /etc/mail/spamassassin/ImageInfo.pm in @INC (@INC

You're trying to load the plugin after you've removed it.

-- 
Randomly Selected Tagline:
Outside of traffic, there is nothing that has held this country back
 as much as committees.   - Will Rodgers


pgpubb3TyDxE7.pgp
Description: PGP signature


Re: Apache SpamAssassin 3.2.0 using older version of ImageInfo

2007-05-06 Thread René Berber

r p wrote:


I can not even get the 3.2 to run cleanly due to ImageInfo.
When I leave the ImageInfo in the init.pre and in the plugin directory I get:


That's the problem, ImageInfo is enabled in v320.pre in the new SA, review that 
old init.pre .


What plugin directory? what do you mean by that? plugins are installed 
automagically (cpan, or rpm, or when you do make install) you don't have to put 
anything anywhere by yourself.


[snip]

If I take the ImageInfo out , I get:
 warn: plugin: failed to parse plugin /etc/mail/spamassassin/ImageInfo.pm:
Can't locate /etc/mail/spamassassin/ImageInfo.pm in @INC (@INC
contains: /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl)
at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/PluginHandler.pm line
97.

Running sendmail 8.13 and spamassassin via procmail.


That's a strange place for your SA installation, vendor_perl... usually it's 
under site_perl.


Even worse is the first line, there is no such ImageInfo.pm under 
/etc/mail/spamassassin, it should be with all the rest of the SA installation.


Looks to me like a scrambled installation.
--
René Berber



Re: Apache SpamAssassin 3.2.0 using older version of ImageInfo

2007-05-02 Thread Theo Van Dinter
On Wed, May 02, 2007 at 03:32:31PM -0400, Rose, Bobby wrote:
 The ImageInfo packaged with 3.2.0 isn't the latest version from SARE as
 it's missing the image_name_regex method.

We can only include that which is donated to the project.

-- 
Randomly Selected Tagline:
First solid fuel we've had since we burned the cats.


pgpdaWc8LnKAk.pgp
Description: PGP signature