D.J. wrote:
> Greetings all:
>
> I intend to eventually have local copies for the lists I wish to use,
> so it's important for me to figure this out. Currently, I'm just
> trying to get SA to only do checks against the lists that I want to
> eventually check. However, it still appearst to be checking all of
> them. I've basically taken the 20_dnsbl_tests.cf and 25_uribl.cf
> files, copied them to my /etc/mail/spamassassin directory, and
> commented out the lists that I don't want checked. However, as I
> said, it still appears to be checking things. I have a feeling this
> is because the original 20_dnsbl_tests.cf and 25_uribl.cf files are
> still in the /usr/share/spamassassin directory, and simply commenting
> them from a later file won't change matters. However, the catch is
> that from what I've read, I *don't* want to edit the files under
> /usr/share/spamassassin as they'll be overwritten upon upgrades, thus
> losing my customizations. What is the best course of action to
> accomplish this goal?
First, delete the copied files. There is no point in having copies of
those files in /etc/mail/spamassassin.
Then, add score lines to /etc/mail/spamassassin/local.cf to change the
score of the rules to 0. This will prevent them from running.
For example:
score RCVD_IN_SORBS_DUL 0
score RCVD_IN_NJABL_PROXY 0
--
Bowie
Excellent! This has worked flawlessly. Now for part 2 of this project, sort of related to the first part. So now I have only the zones I want to query. When I wish to move to my local servers, is it as simple as adding a new "header" line into my local.cf file for each list, or will I need to disable the old lists entirely via the 0 score method and completely rewrite the rules for my local server? Thanks for all your help!