From: "Pablo Allietti" <[EMAIL PROTECTED]>
hi all i recently install spamassassin in freebsd but i can't find the file that contain the scores i need to chage for example NO_RDNS rule to give 3.0 but i can't find the file 0.5 NO_RDNS Sending MTA has no reverse DNS (Postfix variant) 0.8 BR_REMOVER_QUOTE BODY: Inclui texto para remover email (quote) 0.1 TW_LB BODY: Odd Letter Triples with LB 0.6 J_CHICKENPOX_42 BODY: 4alpha-pock-2alpha 0.6 J_CHICKENPOX_33 BODY: 3alpha-pock-3alpha 0.6 J_CHICKENPOX_62 BODY: 6alpha-pock-2alpha 2.0 BR_SPAMMER_URI URI: Texto suspeito 2.6 NO_DNS_FOR_FROM DNS: Envelope sender has no MX or A DNS records 0.5 MIME_BAD_LINEBREAK Message body with fishy line breaks -1.6 AWL AWL: From: address is in the auto white-list
If you want to override rules then there are two correct things you can do and a whole lot of incorrect ways. It sounds like you are hunting for an incorrect way. I can't help with that and keep my conscience from bugging me. The two correct ways are correct for different circumstances. The first is to make a change in the global behavior not just a specific user's behavior. Make a new rule set and name the file something like "ZZ_FinalThoughts.cf". Put your score overrides in that file: "score NO_DNS_FOR_FROM 3.0". Then place that file in the /etc/mail/spamassassin (usually.) (Look for a similar directory in the /etc directory that contains "local.cf".) I picked the name so that it will ALWAYS override EVERY other likely configuration file. If you have allowed individual user preferences then each user can add that line from above to their ~/user_prefs file. That will override even the "ZZ_FinalThoughts.cf" file. Do NOT change the scores in the default spamassassin directory. Any edits there are overwritten even for the smallest of updates. ".cf" Files in /etc/mail/spamassassin are left alone as a general rule. They may be obsoleted and ignored, though. Note that the J_CHICKENPOX_xx rules are overwritten every time the chickenpox rule set is updated. So making changes in that file will also result in their being updated away. That is why a final score override configuration file is best. (And even THAT may not be completely idiot proof. No matter how idiot proof we make software God will produce better idiots.) {^_^}