Andrea Bencini wrote:
I installed postfix-2.4.5-2.fc8, amavisd-new-2.5.2-2.fc8 and
spamassassin-3.2.3-2.fc8.
They are running.
I would like to test spam changing "score" in local.cf.
My local.cf is:
report_safe 0
use_bayes 1
use_bayes_rules 1
skip_rbl_checks 0
bayes_path /var/spool/amavisd/.spamassassin/bayes
score FREE_PORN 1000
score LIVE_PORN 1100
Now I send an e-mail where there are the words "porno" and "sex" in the
message body.
FREE_PORN triggers on that two-word phrase, not just "porno"
The regex for the rule is:
/\bfree (?:porn|xxx|adult)/i
So, it will catch "free" followed (immediately) by porn, xxx or adult.
LIVE_PORN works in a similar fashion.