I've been using Messagewall for a while now, and I decided to throw
SpamAssassin into the mix. Messagewall is great, but it's not dynamic
enough.
Problem is that I eventually want messagewall to tag messages only, then
pass them on to SA.
Messagewall always adds the header "X-MessageWall-Score: <score>
(<host.domain.tld>)". I want to write a rule for SpamAssassin that
basically says, "if <score> is greater than or equal to 15, then it's a
match." Note that <score> can be more than two digits.
This is how far I've gotten in local.cf:
header MW_SPAM X-MessageWall-Score: =~ /^[>=15].*/
score MW_SPAM 1.00
Something's wrong with the expression syntax, and I know nothing of perl so
I haven't been able to figure it out.
Anybody know how to do this sorta thing?
TIA,
Nate
SpamAssassin into the mix. Messagewall is great, but it's not dynamic
enough.
Problem is that I eventually want messagewall to tag messages only, then
pass them on to SA.
Messagewall always adds the header "X-MessageWall-Score: <score>
(<host.domain.tld>)". I want to write a rule for SpamAssassin that
basically says, "if <score> is greater than or equal to 15, then it's a
match." Note that <score> can be more than two digits.
This is how far I've gotten in local.cf:
header MW_SPAM X-MessageWall-Score: =~ /^[>=15].*/
score MW_SPAM 1.00
Something's wrong with the expression syntax, and I know nothing of perl so
I haven't been able to figure it out.
Anybody know how to do this sorta thing?
TIA,
Nate