Russell Clemings wrote:
>
>Thanks. For the archives, this appears to work on a list named "testlist"
>...


Cool!


[...]
>new file lists/testlist/extend.py:
>
>import copy
>from Mailman import mm_cfg
>def extend(mlist):
>  mlist.pipeline = copy.copy(mm_cfg.GLOBAL_PIPELINE)
>  # The next line inserts MyHandler ahead of Moderate.
>  mlist.pipeline.insert(mlist.pipeline.index('Moderate'), 'MyHandler')


Perhaps you have thought this through and want this handler before
Moderate, but I would put it after with either

  mlist.pipeline.insert(mlist.pipeline.index('Moderate')+1, 'MyHandler')

or

  mlist.pipeline.insert(mlist.pipeline.index('Hold'), 'MyHandler')

My thinking is that with MyHandler before Moderate, a non-member post
can be held for 'bad words' before list membership is checked. Then if
the moderator decides the bad words hold is a false positive or should
be passed anyway, she may approve the post without realizing it's from
a non-member. The approved post will then bypass membership checks.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to