Error when running spamassassin --lint

Julian Field MailScanner at
Tue Jun 12 17:13:51 IST 2007

Hash: SHA1

ClamAV::Module is nothing to do with SpamAssassin. Sounds like you've 
got an error in one of your /etc/mail/spamassassin/*.pre files though.

Philip Parsons wrote:
> We recently just upgraded clamav and started to use ClamAV::Module.
> [30092] warn: config: SpamAssassin failed to parse line,
> "Mail::SpamAssassin::Plugin::ImageInfo /etc/mail/spamassassin/ImageInfo.pmloadplugin Mail::SpamAssassin::Plugin::ASN" is not valid for "loadplugin", skipping: loadplugin Mail::SpamAssassin::Plugin::ImageInfo /etc/mail/spamassassin/ImageInfo.pmloadplugin Mail::SpamAssassin::Plugin::ASN
> [30092] warn: plugin: failed to parse plugin (from @INC): Can't locate
> Mail/SpamAssassin/Plugin/ in @INC (@INC
> contains: /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6) at (eval 76) line 1.
> [30092] warn: plugin: failed to create instance of plugin
> Mail::SpamAssassin::Plugin::ASN: Can't locate object method "new" via
> package "Mail::SpamAssassin::Plugin::ASN" at (eval 77) line 1.
> [30092] warn: lint: 1 issues detected, please rerun with debug enabled
> for more information


- -- 
Julian Field MEng CITP
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit

Version: PGP Desktop 9.6.1 (Build 1012)
Charset: UTF-8


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit

More information about the MailScanner mailing list