[Mailman-Users] Command-line to the rescue?

Mark Sapiro mark at msapiro.net
Wed Feb 12 16:58:57 CET 2014

On 02/12/2014 07:51 AM, Richard wrote:
> ...ONE of those key administration tasks that
> doesn't work is the management of "pending moderator requests."
> And, using the mail reply option isn't sufficient because we no longer
> have all the original administrator emails to reply to!
> So... /usr/lib/mailman/bin/discard to the rescue?
> All 'discard -h' says is:
> Discard held messages.
> Usage:
>      discard [options] file ...
> Options:
>      --help / -h
>          Print this help message and exit.
>      --quiet / -q
>          Don't print status messages.
> Um... Obvious question: What goes in the file?

The held message file(s) which are in Mailman's data/directory with 
names like heldmsg-LISTNAME-nnnn.*

> I'd also have expected it to present me with an option to specify which
> list? A "from" email address? And what if I want to accept or reject
> instead of discard?
> Is there a different utility I should be looking at?

See <http://www.msapiro.net/scripts/list_requests>.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list