Gary wrote:

> In RELEASE_NOTES for 2.5.2:

> - suggestion: when using SpamAssassin plugin Rule2XSBody
>   (available in more recent versions of SA), adding an entry like:
>     Mail::SpamAssassin::CompiledRegexps::body_0
>   to the @additional_perl_modules list allows preloading of compiled rules.

>   Adding the following two lines to amavisd.conf adds the directory name
>   containing modules with compiled rules to Perl modules search path and
>   allows Perl to find the listed module(s):
>     my($sa_instdir) = '/var/db/spamassassin/compiled/3.002001';
>     unshift(@INC, $sa_instdir, $sa_instdir.'/auto');

more typical:

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

Gary V



-------------------------------------------------------------------------
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