Gary,
> SA 3.2.1, amavisd-new 2.5.2-rc1
>
> Jun 23 10:27:39 sfa amavis[6600]: (06600-01) extra modules loaded:
> Mail/SpamAssassin/CompiledRegexps/body_0.pm,
> Mail/SpamAssassin/CompiledRegexps/body_500.pm
>
> With
> loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
> enabled in v320.pre (after running 'sa-compile') this log message
> appears (at $log_level 1). Adding the modules to @additional_perl_modules
> does not remove the log entry. It may be something that will simply have to
> be tolerated but I thought I would mention it. I also tried adding
>  Mail::SpamAssassin::Plugin::Rule2XSBody

It is because these modules reside under /var/lib/spamassassin/compiled/
(or /var/db/spamassassin/compiled/ on FreeBSD), and the directory
is not in the usual @INC path where Perl is looking for modules.


Try this in amavisd.conf:

my($sa_instdir) = '/var/lib/spamassassin/compiled/3.002001';
unshift(@INC, $sa_instdir, $sa_instdir.'/auto');

@additional_perl_modules = qw(
  /etc/mail/spamassassin/Botnet.pm
...
  Mail::SpamAssassin::CompiledRegexps::body_0
  Mail::SpamAssassin::CompiledRegexps::body_500
);

(or whatever body_*.pm files are in your directory)

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to