[Mailman-Developers] Simplified moderation interface

J C Lawrence claw@kanga.nu
Tue, 13 Feb 2001 09:50:37 -0800


On Mon, 12 Feb 2001 09:45:16 -0500 
Barry A Warsaw <barry@digicool.com> wrote:

> I really want to augment the approval workflow with email.
> There's a lot of people for whom moderating through the web is a
> pain (myself included :).  I don't think it would be too difficult
> to come up with a workable email moderation scheme.

<nod>

I've been looking at this, and have loosely come to the following
design:

  -- MessageIDs are used to uniquely identify held mesasges, and are
     used in commands to manipulat manipulate the held queue.  Of
     course that means that Mailman will have locally generate and
     add messageID's to any messages received without them (not a
     big problem).

  -- Moderator commands are just messages sent to the -request
     address and targetted at the MessageIDs, something like (using
     the messageID of the message I'm replying to as an
     example):

       approve 14983.63228.754566.451@anthem.wooz.org password bubba
       reject  14983.63228.754566.451@anthem.wooz.org password bubba
       All text found until next recognised command or "QUIT"
       command is used as reason for rejection.  QUIT processing is
       necessary for those cases where the MTA adds a signature to
       evern message (eg my lawyer's system adds a disclaimer to
       every outbound message).
       discard 14983.63228.754566.451@anthem.wooz.org password bubba

  -- A couple simple extentions of the above allow more useful
     features.  First, to get a copy of a message held on the queue:

       send 14983.63228.754566.451@anthem.wooz.org password bubba

     Second, to post an edited copy of a message, just resend the
     edited version of the held message back to the list
     (bounce/redirect) with an Approve: <password> header:

       Approve: bubba
       Delivery-date: Tue, 13 Feb 2001 09:38:04 -0800
       Received: from localhost [127.0.0.1] 
       	by dingo.home.kanga.nu with esmtp (Exim 3.22 #1 (Debian))
       	id 14SjOu-0004BQ-00; Tue, 13 Feb 2001 09:38:04 -0800
       Delivered-To: claw@kanga.nu
       Received: from kanga.nu [64.1.167.214]
       	by localhost with POP3 (fetchmail-5.5.3)
       	for claw@localhost (single-drop); Tue, 13 Feb 2001 09:38:04 -0800 (PST)
       Received: from dingo.home.kanga.nu (w212.z064001167.sjc-ca.dsl.cnc.net [64.1.167.212])
       	by bush.kanga.nu (Postfix) with ESMTP id 5356E19A9F
       	for <claw@kanga.nu>; Tue, 13 Feb 2001 09:37:30 -0800 (PST)
       Received: from (kanga.nu) [127.0.0.1] 
       	by dingo.home.kanga.nu with esmtp (Exim 3.22 #1 (Debian))
       	id 14SjOM-0003uB-00; Tue, 13 Feb 2001 09:37:30 -0800
       To: some_list@domain
       Subject: testing
       Date: Tue, 13 Feb 2001 09:37:30 -0800
       Message-ID: <15013.982085850@kanga.nu>
       From: J C Lawrence <claw@kanga.nu>

       This is the edited message which will be posted.  Any message
       found in the queue which has the same messageID as this
       message will be silently deleted.  Prior to broadcasting this
       message, Mailman will replace the Approve: header with the
       following header:

         X-Moderated: This message has been edited by the list moderator.

       This sentence marks the end of the replacement edited
       message that would be broadcast to the list.
     
-- 
J C Lawrence                                       claw@kanga.nu
---------(*)                          http://www.kanga.nu/~claw/
--=| A man is as sane as he is dangerous to his environment |=--