On Thu, 17 Mar 2011, Mr. B-o-B wrote: > Raymond Norton cried from the depths of the abyss... > >> I want to clean up some mail queues by deleting all MAILER-DAEMON messages >> over 1 day old. I am getting a list of all daemon messages with the >> following: postqueue -p | grep "MAILER-DAEMON". How would I finish the >> command to remove the messages listed, one day old or older. >> >> > > Check This: > > http://maia.deec.uc.pt/Computers/Operating_Systems/Linux/Servers/Mail/Postfix/Postfix_Queue_Management/Queue_Management FYI, the old "tail +2" is now "tail -n+2" I don't know why they changed that. Mike