[Mailman-Users] Trapping messages with null subjects sent to list

Mark Sapiro msapiro at value.net
Fri Mar 2 18:05:36 CET 2007

vancleef at lostwells.net wrote:

>Is there a recipe to put in the spam filters that will trap a totally
>empty subject line in a message?   This get posted to a list with 
>(no subject) in the subject line, but this is evidently added after
>the spam filter check.  

Try the following regexp in header_filter_rules with a Hold action

^subject:\s*(\(no subject\))?\s*$

Mark Sapiro <msapiro at value.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