I realized that I did not post the link to the item that helped me.  I compiled 
this app real quick and it worked like a charm to clear my queue.  It allowed 
me to just do a string search on the queue (I searched for the offending IP).  
I did have to stop qmail to run it.

http://www.linuxmagic.com/opensource/qmail/qmail-remove

Gilbert
  ----- Original Message ----- 
  From: Jake Vickers 
  To: [email protected] 
  Sent: Thursday, March 04, 2010 7:08 PM
  Subject: Re: [qmailtoaster] Queue


  On 03/04/2010 05:00 PM, Gilbert T. Gutierrez, Jr. wrote: 
    Is there a way to clean out some email out of the queue that is waiting to 
be delivered?  I had a rogue customer spam my server with emails that are 
waiting to be sent out.  I know the source IP.

    Gilbert

  There are some queue tools in QTP, and you can also change your queuelifetime 
to a low time (say 15 minutes) and then "qmailctl doqueue" and any messages 
that have been in the queue longer than 15 mins will be bounced. Just remember 
to change your queuelifetime back to what you had it set at before lowering it.

Reply via email to