On Fri, Sep 05, 2008 at 12:15:19AM -0400, Sahil Tandon wrote: > Victor Duchovni <[EMAIL PROTECTED]> wrote: > > > > % mailq | grep sender | cut -c 1-9 | postsuper -h - > > > > Postfix queue-ids don't have a fixed width, this is wrong. The length > > of a queue-id depends on the numerical range of mail queue inode > > numbers. > > Woops, sorry for the noise; maybe the following variant, if the OP wants > to HOLD messages in the active queue: > > % mailq | grep sender | cut -d \* -f 1 | postsuper -h -
Not all the messages will be in the active queue, so "*" is not the right delimeter. I am afraid cut(1) is the wrong tool for the job. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:[EMAIL PROTECTED]> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.