Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Magnus Bäck (magnusdsek.lth.se)
Date: Thu Jul 02 2009 - 02:58:03 CDT
On Thu, July 2, 2009 9:15 am, K bharathan said:
> On Thu, Jul 2, 2009 at 7:01 AM, Magnus Bäck <magnusdsek.lth.se> wrote:
> > What do you mean? Do you want to delete all messages destined to a
> > specific domain? What problem would that solve?
> in fact it's mistake
> when i created a phplist mailing i forgot to create a bounce handling
> host and a return mail address; now those bounced messages are in
> deferred queue so i want to get rid of that deferred msgs from the queue
Use mailq(1) to display the contents of the queue and use sed, awk, Perl
or whatever your comfortable with to filter and format the output to a
list of queue ids. Pipe that output to "postsuper -d -".
Please do not top-post.