[Mailman-Users] Mailman moderation via E-mail

Mark Sapiro mark at msapiro.net
Tue May 9 15:21:11 EDT 2017


On 05/08/2017 02:38 AM, Zalezny Niezalezny wrote:
> 
> Is it possible this kind of scenario to moderate an E-mail using only
> e-mail communication ?
> 
> For example:
> 
> 1. Moderator sending message on list at example.com
> 2. Moderator receiving his own message (with msg file) and needs to send it
> back to approve it
> 3. Moderator sending message back to the server (maybe with some command
> "approved" etc.etc.)
> 4. Message is accepted by the Mailman server and server starting to send
> messages to all users.


Yes.

You need to ensure General Options -> admin_immed_notify is Yes. Then
when a post is held for moderation, the owners/moderators will receive a
MIME multipart message with three parts. The first part says the message
is held and why. The second part is the message itself. The third part
is a message/rfc822 message. This message is From: the
listname-request at ... address and has Subject: confirm xxxx and content

If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is spam.
If you reply to this message and include an Approved: header with the
list password in it, the message will be approved for posting to the
list.  The Approved: header can also appear in the first line of the
body of the reply

where xxxx is a hex token. It is important that the reply be to that
message in the third part and not the outer message. It doesn't actually
have to be a reply, but it does have to be To: the listname-request at ...
address and have Subject: confirm xxxx where xxxx is the hex token.

-- 
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