You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by pr...@moveupdate.com on 2006/09/04 03:40:36 UTC

problem with ImageInfo

hi,
I placed 70_imageinfo.cf in the spamassassin directory and got the error message of:
failed to create instance of plugin Mail::SpamAssassin::Plugin::ImageInfo: Can't locate object method "new" via package "Mail::SpamAssassin::Plugin::ImageInfo" (perhaps you forgot to load "Mail::SpamAssassin::Plugin::ImageInfo"?) at (eval 183) line 1.


So I put the ImageInfo.pm file in the spamassassin directory and made sure that in the init.pre I have 
              loadplugin Mail::SpamAssassin::Plugin::ImageInfo

But then I got a slew of error messages, such as:
[20537] warn: Subroutine new redefined at /etc/mail/spamassassin/ImageInfo.pm line 68.
[20537] warn: Subroutine _get_images redefined at /etc/mail/spamassassin/ImageInfo.pm line 193.
[20537] warn: Subroutine image_named redefined at /etc/mail/spamassassin/ImageInfo.pm line 230.
[20537] warn: Subroutine image_count redefined at /etc/mail/spamassassin/ImageInfo.pm line 246.
[20537] warn: Subroutine pixel_coverage redefined at /etc/mail/spamassassin/ImageInfo.pm line 262.
[20537] warn: Subroutine image_to_text_ratio redefined at /etc/mail/spamassassin/ImageInfo.pm line 278.
[20537] warn: Subroutine image_size_exact redefined at /etc/mail/spamassassin/ImageInfo.pm line 300.
[20537] warn: Subroutine image_size_range redefined at /etc/mail/spamassassin/ImageInfo.pm line 316.
[20537] warn: Subroutine result_check redefined at /etc/mail/spamassassin/ImageInfo.pm line 344.

What am I doing wrong?


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.


Re: problem with ImageInfo

Posted by Benny Pedersen <me...@junc.org>.
On Mon, September 4, 2006 03:40, printer@moveupdate.com wrote:
> So I put the ImageInfo.pm file in the spamassassin directory and made sure
> that in the init.pre I have
>               loadplugin Mail::SpamAssassin::Plugin::ImageInfo
>
> What am I doing wrong?

loadplugin foo::bar::module <path/to/perl/module>

the version you used only can load plugings that are shipped with spamassassin

-- 
"This message was sent using 100% recycled spam mails."