[Mailman-Users] Message Held for approval -- too verbose

Mark Sapiro mark at msapiro.net
Thu May 11 14:15:07 EDT 2017


On 05/10/2017 09:15 PM, Piet Barber via Mailman-Users wrote:
> 
> The problem is when the "This message has been held by a moderator for
> approval" messages come to me.
> 
> My Gmail is labeling those as spam.  They're labeling them as spam because
> Mailman is forwarding the entire message to my moderator address (hosted on
> Gmail).


That message is sent because admin_immed_notify is on.


> I sure can't find any sort of dialog in the archives about how to do this,
> and i haven't found an option to do what I want.
> 
> What I want:
> 
> I want the "there are 2 messages held for approval" type messages from
> Mailman not to contain the spam. Don't contain anything in the message at
> all, except the sender and maybe the subject. Instead of repeating all of
> the spammy content, is there any way to get Mailman to  say something like
> "Hey there's a message, go check it out"


The daily summary of held messages is what you want. If you turn off
admin_immed_notify, that's all you'll get. If you want it more
frequently than daily, it is produced by Mailman's cron/checkdbs. The
default crontab entry for that is

0 8 * * * /usr/bin/python -S $prefix/cron/checkdbs

If you have access, you can make it run more often, but it will affect
notices for all lists.

There is nothing short of modifying the code that will omit the held
message itself from the admin_immed_notify notice.

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