Assigning a different score to a SpamAssassin variable


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Spam

Assigning a different score to a SpamAssassin variableLast Modified: Dec 26, 2014, 12:52 am
If you get a spam score in your headers such as this:

SPF_FAIL=3

and you think 3 is too much, you can override any variable to a lower value by adding this to your ~/.spamassassin/user_prefs file, eg:

score SPF_FAIL 2

Note, the SPF_FAIL variable is just an example, 3 might not be it's actual default.

Another option should should receive a high score would be any sender IP that does not have a reverse IP lookup.  All valid mail servers should have one, so we can penalize those that don't

score RDNS_NONE 3.0

which still allows a small amount of room for error (in case you accidentally setup the remote sending server incorrectly, without rnds, you might want to accept the email).  Or if you absolutely don't ever want to received email from an incorrectly setup server, you'd use a higher value, like 5.0, to help push the total score over the threshold/limit.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST