Linux - Command to flush sendmail queue, Remove or delete mails from mail queue
Command to flush sendmail queue
sendmail -q -v
If you run into a command list too long for rm, try:
# ls /var/spool/mqueue | xargs rmThat will break up the file list into more managable bites for rm.
Easy and fastest way to delete mails from sendmail queue
find /var/spool/mqueue -name "*fn*" -delete
The topic on Linux - Command to flush sendmail queue is posted by - Math
Hope you have enjoyed, Linux - Command to flush sendmail queueThanks for your time