[Mailman-Users] Mailman continues to deliver to deleted list

Richard Shetron guest2 at sgeinc.com
Tue Nov 6 05:17:17 CET 2012



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.




More information about the Mailman-Users mailing list