Page 1 of 1

spamassassin regex rules

Posted: Fri Jan 20, 2017 5:16 pm
by loni
hello folks,
maybe this is not the right place where post this. in this case, apologize.

Given a rule like this

body ANNOY_WORDS_STRING /bo(dy|bby|y)/i
meta ANNOY_WORDS (ANNOY_WORDS_STRING >= 2)
describe ANNOY_WORDS test
score ANNOY_WORDS 8.0

if in an email the body contain "bobby is a boy " ANNOY_WORDS_STRING is 2 because there is bobby and also boy.

Is it possible? Could someone help me to understand how?

thanks a lot

regards