8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] mail queue purge
FromSent OnAttachments
Mark ConstableOct 12, 2006 7:21 pm 
Sam VarshavchikOct 13, 2006 4:06 am 
Mark ConstableOct 13, 2006 5:08 am 
Shawn M. JonesOct 13, 2006 5:24 am 
jero...@free.frOct 13, 2006 5:27 am 
Aine DouglasOct 13, 2006 6:17 am 
Bowie BaileyOct 13, 2006 9:45 am 
Mark BucciarelliOct 16, 2006 6:04 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] mail queue purgeActions...
From:jero...@free.fr (jero@free.fr)
Date:Oct 13, 2006 5:27:28 am
List:net.sourceforge.lists.courier-users

Hello,

What you can do : - stop SMTP delivery (esmtpd stop) - Just look in your queue directory : you always have at lease two files : content, headers, and step... each part of the mail has the same filename but it's in a different folder.

What i have done for qmail/vpopmail: - stop qmail manually - rgrep -l $string_to_match $queue/mess/ ==> Now you have the filenames - find $queue -name $each_file | xargs rm - restart qmail manually

And the queue is clean ! take care : smtpd daemon has to be stopped !!! else results can be... weird.

HTH. Jerome Blion.

Selon Mark Constable <mar@renta.net>:

Just a thought, at the moment we have 21,000 messages in our mailq after blocking with spamcop and a few others. I'm sure we're in the middle of a spamstorm and that it's 95% spam in the queue.

We've got so much load atm that some messages are taking up to 20 hours to be actually delivered. Spamassassin seems to be the main culprit slowing things down.

Would it be reasonable to script up something that could roll over the messages in the queue and "purge" the most obvious spam quickly and easily ?