spamassassin local.cf processing and forcing x-spam-status
I am trying to tune the spam filtering on a mail server that I manage
The mail server uses ISPConfig3 (with Postfix and SpamAssassin). ISPConfig is 3.0.16. SpamAssassin is 3.2.5 running on Perl 5.10.0.
There are a number of DNS Blacklists setup in the postfix main.cf but spam is getting through still so I wanted to customise the spamassassin settings
I am trying to implement some basic filter rules via local.cf
Another problem is that non-spam doesn't have any x-spam-status header to help tune the scoring
I have added the following to the /etc/spamassassin/local.cf file and restarted spamd (/etc/init.d/spamassassin restart), but nothing seems to have changed. When I send test emails that contain the specified search-words (from an address that is not white-listed) it doesn't get detected as spam and there is no x-spam-status header to see what scores it was given
body LOCAL_LONELY_HOUSE_WIFE_RULE /Lonely House Wife/i
score LOCAL_LONELY_HOUSE_WIFE_RULE 1.0
body LOCAL_DATE_RULE /Date/i
score LOCAL_DATE_RULE 0.5
body LOCAL_DATING_RULE /Dating/i
score LOCAL_DATING_RULE 0.5
body LOCAL_FACEBOOK_PASHION_RULE /FacebookPassion.com/i
score LOCAL_FACEBOOK_PASHION_RULE 1.0
body LOCAL_DATINGHACKERS1_RULE /DatingHacker/i
score LOCAL_DATINGHACKERS1_RULE 1.0
header LOCAL_DATINGHACKERS2_RULE Subject =~ /DatingHacker/i
score LOCAL_DATINGHACKERS2_RULE 1.0
add_header spam Flag _YESNOCAPS_
add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_
add_header all Level _STARS(*)_
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_
|
Recent comments
1 day 1 hour ago
1 day 6 hours ago
1 day 11 hours ago
1 day 13 hours ago
2 days 3 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 15 hours ago
2 days 15 hours ago
2 days 17 hours ago