[Mailman-Users] Newbie comments/questions

Peter Davis pfd at pfdstudio.com
Wed Oct 4 15:51:46 CEST 2006

Thanks, Mark,

Mark Sapiro wrote:
> I assume you are using header_filter_rules, not bounce_matching_headers.

> Since by default, membership tests are done before
> bounce_matching_headers, you could use bounce_matching_headers to hold
> the spam and the test will be done after membership.
Possibly, but I want to hold these messages to determine whether or not 
they are truly spam.  I don't want to simply bounce them automatically.

> You can continue to use header_filter_rules and reorder the pipeline so
> 'SpamDetect' comes after 'Moderate'. See
> <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.067.htp>
> which addresses a different issue, but will give hints as to how to
> reorder the pipeline for a single list or all lists. Note that
> reordering the pipline requires a level of access to the Mailman
> server that you may not have.
Correct again.  I'm using Mailman on a hosting service, so I have very 
limited access.

>> 2) Is there a way to set up a filter to catch messages with a blank 
>> subject line?  I tried "subject:\s$", but this did nothing.
> In header_filter_rules, the pattern
>  ^subject:\s*$
> should work. 
FAQ entry 3.32 
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.032.htp> says:

_Don't_ try to match the whole line by enclosing your pattern between 
beginning of line anchor ('^') and end of line anchor ('$').

Should I ignore that?


                            Peter Davis
              Funny stuff at http://www.pfdstudio.com
   List of resources for children's writers and illustrators at:

More information about the Mailman-Users mailing list