Richard writes:
> hi justin,
>
> i've been 'sicked' :-) on you from #irc:
>
> "I'm not sure why the loadplugin line got shoved into active, but ...
> that's jm's thing."
>
> i'm bldg sa-svn r433640 on osx.
>
> on --lint, i now notice, e.g.:
>
> ...
> [4087] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::SIQ=HASH(0x1fcf1dc)
> [4087] dbg: plugin: fixed relative path: /var
> /MailServer/Conf/SA/Dist/sandbox-felicity.pm
> [4087] dbg: plugin: loading
> Mail::SpamAssassin::Plugin::Sandbox::felicity from /var
> /MailServer/Conf/SA/Dist/sandbox-felicity.pm
> [4087] warn: plugin: failed to parse plugin /var
> /MailServer/Conf/SA/Dist/sandbox-felicity.pm: Can't locate /var
> /MailServer/Conf/SA/Dist/sandbox-felicity.pm in @INC (@INC contains: lib
> /usr/local /perl_libs/sitelib/darwin-thread-multi-2level /usr/local
> /perl_libs/sitelib /usr/local
> /perl_libs/privlib/darwin-thread-multi-2level /usr/local
> /perl_libs/privlib /usr/local
> /perl_libs/vendorlib/darwin-thread-multi-2level /usr/local
> /perl_libs/vendorlib) at /usr/local
> /perl_libs/sitelib/Mail/SpamAssassin/PluginHandler.pm line 97.
> ...
>
> which is, apparently, coming from the associated lines in Dist/72_active.cf:
>
> grep felicity 72_active.cf
> ##{ loadplugin_Mail::SpamAssassin::Plugin::Sandbox::felicity
> loadplugin Mail::SpamAssassin::Plugin::Sandbox::felicity
> sandbox-felicity.pm
> ##} loadplugin_Mail::SpamAssassin::Plugin::Sandbox::felicity
> ifplugin Mail::SpamAssassin::Plugin::Sandbox::felicity
> ifplugin Mail::SpamAssassin::Plugin::Sandbox::felicity
> ifplugin Mail::SpamAssassin::Plugin::Sandbox::felicity
> ifplugin Mail::SpamAssassin::Plugin::Sandbox::felicity
>
> from what i've been told:
>
> "70_sandbox is for stuff that hasn't been autopromoted yet, and
> 72_active is anything that's been promoted."
>
> i understand that if a loadplugin, etc is "in" sandbox.cf, that one
> shouldn't expect it to make sense & follow *.pre rules -- necessarily.
>
> but if it's in an 'official' distro .cf, i'd think the "it" should
> behave and follow *.pre rules -- i.e., don't auto-enable plugins without
> specific permission.
>
> and, of course, in my example, i have NOT enabled the plugin in init.pre.
>
> so, why is a reference to "sandbox-felicity.pm" in Dist/72_active.cf ?
>
> bug? feature? my fubar?
it's because "sandbox-felicity.pm" is listed in MANIFEST, ie. is
considered part of the main distribution. This used to be required
to work around a bug, but isn't any more.
try now... I've taken them out.
--j.