• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Spamassassin Rules Not Recoginzed

R

rayelder

Guest
According to the Spamassassin website I'v added rules to filter specific vuglar words. Below is the contents of my local.cf file at /etc/mail/spamassassin

required_hits 5
rewrite_subject 1
subject_tag *****SPAM*****
report_safe 0
header L_S_casino Subject =~ /casino/i
score L_S_casino 6.0
describe L_S_casino Subject mentions casino

I've saved the new setting and restarted Spamassassin using "service spamassassin restart". Everything seems to restart properly but when I send a test email with the offensive word in the Subject it doesn't get labeled with *****SPAM*****
 
Back
Top