When faced with danger, have no fear;
when faced with difficulty, have no worries or stress;
when faced with injustice, have no anger;
at all time, live life without guilt.
Clear the whole Postfix mail queue
~# for i in `mailq|grep '@' |awk {'print $1'}|grep -v '@'`; do postsuper -d $i ; doneThomas Sewell from coolsewell.com contributed with this helpful notes:
you could also just do
postsuper -d ALLto clear all mail queues or even
postsuper -d ALL deferredto just get rid of deferred mail from the queue.
Thanks Thomas! :)
- admin's blog
- Login to post comments


