This is a discussion on RE: Overriding Scores - SpamAssassin ; susan barnes wrote: > Theo Van Dinter wrote: > > > Susan Barnes wrote: > > > > The site rules should be in /etc/mail/spamassassin/ > > > > with a file updates_spamassassin_org.cf including the sets in > > > ...
susan barnes wrote:
> Theo Van Dinter wrote:
> > > Susan Barnes wrote:
> > > > The site rules should be in /etc/mail/spamassassin/
> > > > with a file updates_spamassassin_org.cf including the sets in
> > > > /etc/mail/spamassassin/updates_spamassassin_org
> > Also, updates don't live there, at least by default. If you've used
> > --updatedir, make sure you understand the implications.
> I'll bite, what are the implications? (The updates cannot go to the
> default place, or at least it would be a major pain)
The major implication is that it is up to you to adjust SA to find your
rules in their non-standard location.
> So far I have figured out, that local.cf is no special file and will
> be overridden by anything in the site directory that follows it
> (alphabetically speaking). So my solution (put new scores in a .cf
> with a name beginning with zzz) is probably the quickest solution.
There is nothing special about local.cf. It is just a standard place
for you to put your changes. All .cf files in the directory will be
read in alphanumeric order and the later files will override the earlier
files if there are any conflicts. Using a file such as zzz.cf would be
a good way to make sure your changes are read last.
Of course, it doesn't make any difference if you are trying to override
the standard rules. They are all read first anyway.