#391 held message expiration

Mailman 2.1
open
nobody
5
2006-01-01
2006-01-01
No

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
config parameter.

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.

Discussion

  • Robby Griffin

    Robby Griffin - 2006-01-01

    shell script to reject expired held messages

     
  • Robby Griffin

    Robby Griffin - 2006-01-01

    patch enhancing bin/discard

     
  • Robby Griffin

    Robby Griffin - 2006-01-01

    Logged In: YES
    user_id=83996

    The discard patch applies equally well to 2.1.7, for what it's worth.

     

Log in to post a comment.