On 10/17/20 1:31 PM, tlhackque via Mailman-users wrote:
I might also add the rule number or config filename:line, as in
Header "{name}": rule in {file}:{n} matched value "{value}"
This would be helpful when backtracking from a rejected message to the cause.
A sample expansion might be:
Header "X-Spam": rule in foo.conf:83 matched value "yes"
These rules are not in a configuration file. They are in the headermatch table in the database and the rules for a particular list are exposed on the Header filters tab in Postorius or at the REST lists/LISTNAME/header-matches endpoint.
Perhaps something like
{name}: header match rule, pattern "{pattern}" matched value "{value}"
example:
subject: header match rule, pattern "sex|long|list|of|other|bad|words" matched value "This is a post about filtering based on words like sex in the subject."
but that could be just adding more clutter.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan