[Mailman-Users] Rejecting on size before content-filters

Bernie Cosell bernie at fantasyfarm.com
Sun Jan 4 17:47:05 CET 2009


On 4 Jan 2009 at 8:18, Mark Sapiro wrote:

> Bernie Cosell wrote:
> 
> >Is it possible to change the testing-order so that the list size limit is 
> >tested [and generates an appropriate reject] *before* the content filters 
> >are processed?
> 
> 
> This is the way it's normally done. The usual request is to do it the
> other way around. See, e.g.,
> <http://mail.python.org/pipermail/mailman-users/2008-December/064541.html>.

I think I see what to do.  Am I correct that this would work [I'm a Perl 
guy, and I don't know much python at the moment]:

GLOBAL_PIPELINE.remove('SpamDetect')
GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('Hold'), 'SpamDetect')

  /bernie\
-- 
Bernie Cosell                     Fantasy Farm Fibers
mailto:bernie at fantasyfarm.com     Pearisburg, VA
    -->  Too many people, too few sheep  <--       





More information about the Mailman-Users mailing list