How is the "match field" object interpreted, as in, does it take wildcards, or is it a regexp?
I'm trying to take special action if a particular (custom) spamassassin rule has been met. I've added X-SPAM-LEVEL header to all messages, which lists the code names of the spamassassin rules.
If I create a What object with Match Field X-SPAM-LEVEL=RULE_NAME, it doesn't match. If I change that to X-SPAM-LEVEL=.*RULE_NAME.*, it seems to match completely unrelated messages.
All comments appreciated!
Chip C, Toronto.
I'm trying to take special action if a particular (custom) spamassassin rule has been met. I've added X-SPAM-LEVEL header to all messages, which lists the code names of the spamassassin rules.
If I create a What object with Match Field X-SPAM-LEVEL=RULE_NAME, it doesn't match. If I change that to X-SPAM-LEVEL=.*RULE_NAME.*, it seems to match completely unrelated messages.
All comments appreciated!
Chip C, Toronto.