faqts : Computers : Internet : Mail Servers : qmail : Tips and Tricks : Queue Management

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

62 of 71 people (87%) answered Yes
Recently 5 of 10 people (50%) answered Yes

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).