On 8/25/06, Kenneth Porter <[EMAIL PROTECTED]> wrote:
--On Thursday, August 24, 2006 2:12 PM +0530 BG Mahesh <[EMAIL PROTECTED]>
wrote:

> I am using SA-3.1.4. I am in the process of installing
> http://www.rulesemporium.com/plugins.htm
> Where do I install
> ImageInfo.pm<http://www.rulesemporium.com/plugins/ImageInfo.pm>[which
> directory]?

On Fedora I put mine in /etc/mail/spamassassin/plugins, and added the path
to the end of the load line in init.pre:

loadplugin Mail::SpamAssassin::Plugin::ImageInfo
/etc/mail/spamassassin/plugins/ImageInfo.pm

(That may split across two lines in the mail. It should all be on one line
in your file.)


The error I get for "spamassassin --lint" is,

[EMAIL PROTECTED] spamassassin]# spamassassin --lint
[11752] warn: plugin: failed to parse plugin /etc/mail/spamassassin/plugins
/ImageInfo.pm: Global symbol "$c" requires explicit package name at /etc/mail/spamassassin/plugins/ImageInfo.pm line 141.
[11752] warn: plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::ImageInfo: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::ImageInfo" at /etc/mail/spamassassin/plugins/ImageInfo.pm line 103.

Line 141 reads,
dbg("imageinfo: gif image ".($part->{'name'} ? $part->{'name'} : '')." is $height x $width pixels ($area pixels sq.), with $c
olor_table_size color table");

Line 103 reads,
  my $self = $class->SUPER::new($mailsaobject);

What could I be doing wrong?


--
--
B.G. Mahesh
http://www.greynium.com/
http://www.oneindia.in/
http://www.click.in/ - Free Indian Classifieds

Reply via email to