Clear Qmail Queue

To clear *all* messages from the queue, shut down qmail, then:

    service qmail stop
    cd /var/qmail/queue
    find intd todo local remote mess info bounce -type f -print |xargs rm
    service qmail start


Start qmail back up, and the queue should be empty.

To just clear the "stuck" messages, you'll have to define what you
mean by "stuck".

Source: http://msgs.securepoint.com/cgi-bin/get/qmail0308/128/1.html
Related Scribbles:
  • Email Notes
  • SME Server Notes


  • ID: 639
    Author:
    leonard
    Date Updated:
    2022-07-16 19:38:47
    Date Created:
    2005-06-17 00:47:56

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> Clear Qmail Queue
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.