On 2/25/2011 4:06 PM, Mauricio Tavares wrote: > On Fri, Feb 25, 2011 at 4:04 PM, Bowie Bailey <[email protected]> wrote: >> On 2/25/2011 3:49 PM, Mauricio Tavares wrote: >>> Butting in, we have >>> >>> ok_languages en >>> >>> and textcat enabled (loadplugin) but it is not, say, scoring Spanish spam. >>> >>> Now, is it ok to have both the loadplugin and the ok_languages >>> statements in local.cf? >> Loadplugin statements should be in the *.pre files so that they get >> loaded before the rules. >> >> TextCat should be enabled by uncommenting the loadplugin statement in >> v310.pre. >> > Aha. I thought you want to only make changes on local.cf because > in an upgrade you could not guarantee changes to a .pre file would not > be overwritten.
No, you are only to make changes in the DIRECTORY containing local.cf. Nothing in that directory will be overwritten by an update, although new files (such as the v310.pre, v312.pre, etc) may be added from time to time. What you should NOT do is directly change the files in /var/lib/spamassassin/... since any changes made there will be lost in the next update. -- Bowie
