[Mailman-Developers] [ mailman-Patches-636412 ] discard old pending posts

noreply@sourceforge.net noreply@sourceforge.net
Tue Nov 19 03:55:36 2002


Patches item #636412, was opened at 2002-11-10 19:39
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: Open
Resolution: None
>Priority: 3
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: Barry A. Warsaw (bwarsaw)
Date: 2002-11-18 18: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-10 20: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-Developers mailing list