[Mailman-Users] Mailman 2.1.12
Mark Sapiro
mark at msapiro.net
Wed Jan 2 21:56:08 CET 2013
Frank Murphy wrote:
>
>looking through the Admin Interface.
>I'm trying to work out where
>to place following:
>
>Subject must contain: "from" (the word)
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 at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list