[ mailman-Patches-636412 ] discard old pending posts

SourceForge.net noreply at sourceforge.net
Thu Dec 25 07:10:02 EST 2003


Patches item #636412, was opened at 2002-11-11 00:39
Message generated for change (Comment added) made by tkikuchi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=636412&group_id=103

Category: None
Group: Mailman 2.2 / 3.0
>Status: Closed
Resolution: None
Priority: 7
Submitted By: Tokio Kikuchi (tkikuchi)
Assigned to: Nobody/Anonymous (nobody)
Summary: discard old pending posts

Initial Comment:
This short script will help you to discard old pending
posts.
I put it in cron dir and run daily with this crontab entry:
55 7 * * * /usr/local/bin/python -S
/home/mailman/cron/auto_discard | mail mailman-owner

I hope this idea is integrated in cron/checkdb. (sorry
I have no  time to work now)


----------------------------------------------------------------------

>Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-12-25 12:10

Message:
Logged In: YES 
user_id=67709

closing this patch in favor of  #790494.


----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-03-13 19:52

Message:
Logged In: YES 
user_id=12800

Upping the priority

----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-11-18 23:29

Message:
Logged In: YES 
user_id=12800

This would be cool to add to cron/checkdbs.  Here are some ideas

- either have a MAX_REQUEST_AGE value in Defaults.py or a
max_request_age attribute on lists if you want this to be
different per-list (which might be a good idea since this is
dependent on how often the list admins clear their pendings)

- in the checkdbs message, keep a record of how many old
ones you expire and mention it in the user notification.  e.g.

17 old requests automatically expired.

I'll mark this as for MM2.1 group, but it's really going to
be pushed back until the following release.

----------------------------------------------------------------------

Comment By: Victor Nolton (ven-x)
Date: 2002-11-11 01:37

Message:
Logged In: YES 
user_id=646258

Thank ya! worked perfect!

Thank you


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=636412&group_id=103



More information about the Mailman-coders mailing list