![](https://secure.gravatar.com/avatar/903b86fcbaf04a964cc85381e794178b.jpg?s=120&d=mm&r=g)
Mailman 2.1.12
New to Mailman, and indeed python.
looking through the Admin Interface. I'm trying to work out where to place following:
Subject must contain: "from" (the word) Mail Body must contain: "Reporter: @ (word Reporter: + @ symbol)
Even http://wiki.list.org/display/DOC/3+List+administrator+tasks hasn't shed light for me. My grey logic processor is borked.
-- Regards, Frank
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Frank Murphy wrote:
In Privacy opyions... -> Spam filters -> header_filter_rules use a regexp along the lines of
^Subject:.*\Wfrom\W
with an action of Accept followed by a rule with a regexp like "." (i.e. matches anything) with a appropriate action like Hold or Discard.
Mail Body must contain: "Reporter: @ (word Reporter: + @ symbol)
There is no standard configuration option for filtering based on message bodies. You need to use a custom handler. See <http://wiki.list.org/x/l4A9>.
If you mean the message must satisfy both of the above, you need a custom handler to test both conditions and act accordingly.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Frank Murphy wrote:
In Privacy opyions... -> Spam filters -> header_filter_rules use a regexp along the lines of
^Subject:.*\Wfrom\W
with an action of Accept followed by a rule with a regexp like "." (i.e. matches anything) with a appropriate action like Hold or Discard.
Mail Body must contain: "Reporter: @ (word Reporter: + @ symbol)
There is no standard configuration option for filtering based on message bodies. You need to use a custom handler. See <http://wiki.list.org/x/l4A9>.
If you mean the message must satisfy both of the above, you need a custom handler to test both conditions and act accordingly.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Frank Murphy
-
Mark Sapiro