[Mailman-Developers] bounce processing in 2.1CVS

bob@nleaudio.com bob@nleaudio.com
Wed, 30 Jan 2002 01:01:14 -0500 (EST)


This is a MIME-encapsulated message.

--------------026733399023883558022683
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Also, don't forget that you need to ignore days that go by without posts.  You 
need to count "posting" days.

Bob

>
>> 1) are we a member?  No, return
>> 2) do we have previous bounces?  No, register it skip to step 7
>> 3) is the member disabled?  yes, quit
>> 4) is the bounce info from today?  yes, don't increment, skip to step 7
>> 5) is the info stale?  yes, reset it and skip to step 7
>> 6) increment score for today's bounce
>> 7) is score > threshold?  yes, disable 'em.
>
>Yeah, I like that better; at least it handles "I need to reset
>my bounce threshold to get out of a hole" better.
> 
>>     DM> And besides, that seems like a useful knob to turn (i.e. "how
>>     DM> old does the bounce info have to be before I start looking for
>>     DM> new ones").
>> 
>> It might be, but I think for now I don't want to add that.
>
>I suppose I know how to write that much Python.  :)
>
>> I realized you also want to add a step in cron/disabled that performs
>> a sweep over the currently-bouncing-but-not-yet-disabled members,
>> checking their scores against the threshold.  Say this morning the
>> threshold was 4.0 and some member had a score of 3.0.  Then I go in
>> and say screw it, set the threshold to 2.0.  I'd like today's
>> cron/disabled run to disable all those members with a score of 3.0.
>
>Yeah, good point.
>
>
>_______________________________________________
>Mailman-Developers mailing list
>Mailman-Developers@python.org
>http://mail.python.org/mailman/listinfo/mailman-developers
>


--------------026733399023883558022683--