Hello people ,
I'd like to stop some spammers and I added these rules in
The subject in spam e-mail addresses is always: Employment opportunity
header LOCAL_DEMONSTRATION_SUBJECT1 Subject =~ /^employment opportunity$/i
describe LOCAL_DEMONSTRATION_SUBJECT1 Subject starts: Employment opportunity
score LOCAL_DEMONSTRATION_SUBJECT1 9.0
header LOCAL_DEMONSTRATION_SUBJECT2 Subject =~ /^Employment opportunity$/
describe LOCAL_DEMONSTRATION_SUBJECT2 Subject starts: Employment opportunity
score LOCAL_DEMONSTRATION_SUBJECT2 9.0
But there is no effect with these rules.
Please help my with this case. Howto stop e-mail with this subject ?
Thanks a lot.
Put this in /opt/zimbra/conf/spamassassin/local.cf
And then make a copy of the local.cf to local.cf-default or something so you don't lose it on upgrades. This works fine for me.
header SUBJ_S00 Subject =~ /\bthe-subject-i-want-to-stop\b/i
score SUBJ_S00 77.0
zmantispamctl stop & start
Good to go.
Thank you very much n4bbq It's works for me to :) The problem was with the values of score :) I changed to 16 and there is no problem anymore :)
It works fro me with this rule:
header TURN_LEFT1 ALL =~ /^Job opportunity - hurry to apply!/
score TURN_LEFT1 16.0