This is a discussion on Re: Overriding Scores - SpamAssassin ; Susan Barnes wrote: > Greetings. > > > We have upgraded to SA 3.2 and yesterday I needed to quickly adjust > scores, because of messages being flagged as spam which should not. > > However I was at a ...
Susan Barnes wrote:
> We have upgraded to SA 3.2 and yesterday I needed to quickly adjust
> scores, because of messages being flagged as spam which should not.
> However I was at a loss where to put these adjustments.
> We use mimedefang and sa-update. So if I am right the main
> configuration file is /etc/mail/sa-mimedefang.cf.
> The site rules should be in /etc/mail/spamassassin/
> with a file updates_spamassassin_org.cf including the sets in
> Now obviously I do not want to mess with either the original rules nor
> the automatically updated ones.
> The sa-mimedefang.cf has a comment in it, that extra rules and scores
> can be put in there. There is also a local.cf in the site rules dir.
> However both seem to be read in before the updated rulesets are
> loaded, so in effect the scores will not be changed by either file.
> I have so far settled to put a file zzz_extra_rulesets.cf into the
> site config directory and it works since it is read after the updated
> rulesets. However this seems a bit silly. Am I overlooking something?
> Is there a better place or could someone quickly explain in what order
> SA reads in the various .cf data.
/etc/mail/spamassassin/local.cf is the standard place to make updates.
Changes there will override the base rules.