Well yeah. But since i didn't know anything better to do FAST then it seemed good enough solution. To get it fixed we wrote a shell script what would look into /info and /remote folders to get the corresponding message id and would check against /mess folder. If it doesn't match it would delete /info/<id> and /remote/<id> file. I hope it work out.

Also thanks for the qmhandle script. It seems to be almost what i need, except to filter out messages that match any specific string, so we added it :) Added feature is in bold. If anyone needs it, wave a hand and I'll put it up somwhere.

[EMAIL PROTECTED] cleaner]# ./qmhandle-1.2.2
qmHandle v1.2.2
Copyright 1998-2003 Michele Beltrame

Available parameters:
 -a     : try to send queued messages now (qmail must be running)
 -l     : list message queues
 -L     : list local message queue
 -R     : list remote message queue
 -s     : show some statistics
 -mN    : display message number N
 -dN    : delete message number N
 -Stext : delete all messages that have/contain text as Subject
*  -Utext : delete all messages that have/contain in source*
 -D     : delete all messages in the queue (local and remote)
 -V     : print program version

Additional (optional) parameters:
 -c     : display colored output
 -N     : list message numbers only
          (to be used either with -l, -L or -R)

You can view/delete multiple message i.e. -d123 -v456 -d567

***

Thanks for help


Jake Vickers wrote:
You normally don't want to mess with the queue. That's a dangerous area. Using a tool to manage the queue (like qmhandle) is the preferred method of doing that. You may be able to fix it with the queue-repair tool or qmhandle (there are a couple other queue fixing tools as well). You can search for them or download the QTP package which has a couple queue tools included (qtp.qmailtoaster.com)


Reply via email to