This patch against 2.1.4 includes an enhanced version of bin/discard
and a trivial shell script that rejects held messages older than 10 days,
to keep moderator queues relatively clean and to let users know when
the moderator is asleep at the wheel.
Note that bin/checkdbs in newer versions of Mailman can already
discard held messages according to the max_days_to_hold per-list
Changes to bin/discard include:
- support for --approve, --reject, and --comment= for rejection
comments (compare to patch #992621).
- sane error handling when a specified held message belongs to a
nonexistent / invalid listname
It's advisable to schedule the expire-heldmsgs cron job to happen
before daily admin reminders, so that moderators don't see lists of
messages that are gone by the time they visit the admin page.
If anyone wants to do further work in this area, they should probably
look into extending the expiration capability of 2.1.7 to support
approval / rejection with optional comment of expired held posts. I
would also suggest that deleting a list should cause its held messages
to be expired immediately.
Log in to post a comment.