Martin,

> > You got the syntax wrong, remove the commas, the qw Perl operator
> > splits on whitespace and commas remain part of a filename.

> Removing the commas has one effect:
> Starting virus-scanner (amavisd-new):Subroutine
> is_charset_ok_for_locales redefined at
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locales.pm line 75.

Probably just a warning, should go away once you succeed in pre-loading
these modules.

> But the modules are still unloaded (even If I remove the Locales.pm
> lines) - do you have other ideas?

I tried the following with 2.4.3 and it does work
(I have a few extra plugins enabled, no need to load them
if they do not appear in the your list of missing modules):


@additional_perl_modules = qw(
  /etc/mail/spamassassin/Botnet.pm
  /etc/mail/spamassassin/WebRedirect.pm
  /usr/local/etc/mail/spamassassin/ImageCheck.pm
  HTTP::Date HTTP::Headers HTTP::Message
  HTTP::Request HTTP::Response HTTP::Status
  LWP LWP::Protocol LWP::Protocol::http LWP::UserAgent
  LWP::MemberMixin LWP::Debug Image::Info URI
  PerlIO PerlIO::scalar
  Mail::SpamAssassin::Locales
  Mail::SpamAssassin::Plugin::AccessDB
  Mail::SpamAssassin::Plugin::AntiVirus
  Mail::SpamAssassin::Plugin::ASN
  Mail::SpamAssassin::Plugin::Bayes
  Mail::SpamAssassin::Plugin::BodyEval
  Mail::SpamAssassin::Plugin::BodyRuleBaseExtractor
  Mail::SpamAssassin::Plugin::Check
  Mail::SpamAssassin::Plugin::DNSEval
  Mail::SpamAssassin::Plugin::HTMLEval
  Mail::SpamAssassin::Plugin::HTTPSMismatch
  Mail::SpamAssassin::Plugin::HeaderEval
  Mail::SpamAssassin::Plugin::ImageInfo
  Mail::SpamAssassin::Plugin::MIMEEval
  Mail::SpamAssassin::Plugin::OneLineBodyRuleType
  Mail::SpamAssassin::Plugin::RelayEval
  Mail::SpamAssassin::Plugin::Rule2XSBody
  Mail::SpamAssassin::Plugin::Shortcircuit
  Mail::SpamAssassin::Plugin::TextCat 
  Mail::SpamAssassin::Plugin::URIEval
  Mail::SpamAssassin::Plugin::VBounce
  Mail::SpamAssassin::Plugin::WLBLEval
  Mail::SPF Mail::SPF::Server Mail::SPF::Request
  Mail::SPF::Mech Mail::SPF::Mech::A Mail::SPF::Mech::PTR
  Mail::SPF::Mech::All Mail::SPF::Mech::Exists Mail::SPF::Mech::IP4
  Mail::SPF::Mech::IP6 Mail::SPF::Mech::Include Mail::SPF::Mech::MX
  Mail::SPF::Mod Mail::SPF::Mod::Exp Mail::SPF::Mod::Redirect
  Mail::SPF::SenderIPAddrMech
  Mail::SPF::v1::Record Mail::SPF::v2::Record
  NetAddr::IP NetAddr::IP::Util
  auto::NetAddr::IP::Util::inet_n2dx
  auto::NetAddr::IP::Util::ipv6_n2d
);



Mark

Reply via email to