On Thu, 06 Dec 2018 14:32:37 -0500
Bill Cole wrote:

> You cannot get multiple hits from an ALL rule because the regex is 
> matched against the whole block of headers. Once it matches, the test
> is done.

Just for the record, that isn't a limitation of "multiple"

header   T_TEST1   Subject =~ /\w+/
tflags   T_TEST1   multiple


$ echo "Subject: Mary had a little lamb" | spamassassin -D 2>&1 | grep -o  
'T_TEST1.*'  
T_TEST1 ======> got hit: "Mary"
T_TEST1 ======> got hit: "had"
T_TEST1 ======> got hit: "a"
T_TEST1 ======> got hit: "little"
T_TEST1 ======> got hit: "lamb"

Reply via email to