On 8/13/21 10:55 AM, Mohsen Masoudfar wrote:
Hi,
I wonder if it is possible using the "Header filters" option to filter for a specific word to push the message to Moderation?
You can use Header filters to hold for moderation any messages that have
a header matching a pattern. The pattern match is unanchored and case
insensitive so for example to hold for moderation any message which
contains the string word
or Word
, etc. anywhere in the Subject: you
would create a Header Filter with Header = subject, Pattern = word and
Action = Hold for moderation.
If you want to match only the word word
and not things like foreword
and wordless
, you'd use a pattern like (^|\W)word(\W|$). See
<https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rules/docs/...>
and <https://docs.python.org/3/library/re.html>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan