running this

mailq | grep MAILER | cut -b 1-9 | postsuper -d

i get this

postsuper: fatal: usage: postsuper [-d queue_id (delete)] [-p (purge temporary files)] 
[-r queue_id (requeue)] [-s (structure fix)]

how can i get to delete all bounce messages ?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DustyC
Sent: 3. september 2003 13:56
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: mail in mailq



I think if you use postsuper you can safely remove them while postfix is
running.

mailq | grep MAILER | cut -b 1-9 | postsuper -d -

That will kill all the bounces and report how many were deleted.

DustyC

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Len Conrad
Sent: Wednesday, September 03, 2003 4:02 AM
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: mail in mailq

It's best to stop postfix when you clean the queue since postfix assume it 
has exclusive permission to play with queue files.

Len







Reply via email to