The command `sendmail -q` will flush the mails in queue. In Postfix, enter the following to flush the mail queue:

# postfix flush

Or you can use:

# postfix -f

To see mail queue, enter:
# mailq

To remove all mail from the queue:
# postsuper -d ALL

To remove all mails in the deferred queue:
# postsuper -d ALL deferred