Creating custom Spamassassin rules


body            Job_Scam_Rule  /craftmediadepartment|LOUWILLE ENGINEERING|ABLE TEXTILE DEPARTMENT/
describe        Job_Scam_Rule  “Spam is not allowed”
score           Job_Scam_Rule  2000 2000 2000 2000


header LOCAL_ED_SUBJECT      Subject =~ /\bED\b/
score LOCAL_ED_SUBJECT       40

needs to go in the users user_prefs file if allow_user_rules is enabled in Otherwise can be done on a serverwide basis in /etc/mail/spamassassin/ or similar


You can leave a response, or trackback from your own site.

Leave a Reply