Entry
What files do I need to delete to remove a message from the queue?
May 7th, 2003 11:12
Dave Sill, Nathan Wallace, Anand Buddhdev
You must be careful when trying to mess around with qmail's queue
directly. Before removing any queue files, stop qmail-send and disable
qmail-inject ("chmod -x" or rename temporarily).
Generally, you want to remove:
/var/qmail/queue/{info,mess,remote,local}/#hash/#number
to completely remove a message, where #number is the message id number
and info, mess, etc are directories, and #hash is the message's hash
(queue number modulo conf_split).