On 11/5/2012 8:02 PM, Mark Sapiro wrote:
Josh Berkus wrote:

Folks,

I deleted a mailing list using rmlist.  However, mailman continues to
send out messages to the recipients on this list, and I can't seem to
make it stop.  There's ~~ 3000 pending deliveries, so I'd really rather
that they not go out.

For now mailman is shut down.  How do I clean out its pending messages
queue entirely?


First of all, if the list is gone, i.e. there is no lists/LISTNAME/
directory in Mailman's hierarchy, no currently queued messages will be
processed. Outgoing runner or some other runner may pick up queue
entries for this list, but the list won't be there, so the queued
message will be shunted with an error log message 'Dequeuing message
destined for missing list: LISTNAME'. Therefore, you can just restart
Mailman and any messages in Mailman's queues from the affected list
will just wind up in the shunt queue and won't be processed.

Thus, any 'pending' deliveries which will go out have already been
delivered from Mailman to the MTA, and stopping them has to be done in
the MTA (unless that's moot at this point).

I have a shell script that I use to remove email from the postfix queue based on some unique text string. This is only for postfix and is kinda crude, but it works ;)

It should run on any *nix system.


------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to