Traditional “sendmail -q” command flushes mail queue. Under Postfix, just enter the following to flush the mail queue
# postfix flush
OR
# postfix -f
To view mail queue, enter:
# mailq
To delete all mail from the queue, enter:
# postsuper -d ALL
To delete all mails in the deferred queue, enter:
# postsuper -d ALL deferred