You can use the mailq command sendmail -bp command to display a summary of the mail messages queued for future delivery.
mailq
OR
sendmail -bp
Remove all queued mails from: /var/spool/mqueue
cd /var/spool/mqueue/
ls
rm *
--
Source
http://www.cyberciti.biz/faq/linux-unix-bsd-clear-sendmail-queue/
Technologies: