For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
# /usr/lib/sendmail -oQ/var/spool/omqueue -q
The –oQ flag specifies an alternate queue directory. The –q flag says to run every job in the queue. Use the –v flag if you are displaying the verbose output on the screen.
# rmdir /var/spool/omqueue