From: "Theo Van Dinter" <[EMAIL PROTECTED]>
On Sat, Aug 26, 2006 at 07:14:18PM -0700, jdow wrote:
Is there some magic to the .pre files that makes it important to have
the load_plugins there?

Yes, pre files are loaded before anything else, so the plugins loaded from
there can be used in all cf files.

On Sat, 26 Aug 2006, jdow wrote:
<<jdow>> That suggests a 00_ prefix for local plugins would be
sufficient to cause them to be loaded before other custom plugins.

It's Monday morning so maybe my brain is in a fog, but
doesn't SpamAssassin process everything in one directory in
lexicographical order, then move on to the next dir?  If so,
the 00_ trick would only be enough to order things within one
directory and thus wouldn't be sufficient for foo.pre in dir2
to go before bar.cf in dir1.

As I understand it, SpamAssassin solves this problem by doing
one pass through all dirs for *.pre then another pass through
all dirs for *.cf.  So unless SpamAssassin is updated to merge
the contents of all dirs, then do a lexicographical pass of
the merged set, the 00_ trick won't work.

  - Logan

Reply via email to