On Tue, Feb 15, 2000 at 03:21:35AM -0500, Jim Breton wrote:

> IIRC I stopped qmail-send but qmail-remote was still running (maybe it

existing qmail-remotes are allowed to finish deliveries, _after_ which
qmail-send exits.

> wasn't, I can't recall, but it's not an issue) and I killed it with a
> -9.  Then I removed the message from /var/qmail/queue/mess/0/ but either

Very bad practice. In general, on a unix system, try to kill a process
with kill -TERM first, and if that doesn't work, _then_ try kill -KILL
(or kill -9).

> qmail-qread would give me this error:
> 
> warning: trouble with #1955: file does not exist
> 
> I looked around a bit more and found /var/qmail/queue/remote/0/1955 and
> info/0/1955 and removed them as well.
> 
> Everything seems to be OK now, but are there any other files I missed
> and did I do the right thing, or is there a better way?

Well, you were on the right track, and you did eventually end up doing
the right thing, but you must be careful when trying to mess around with
qmail's queue directly.

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.

-- 
See complete headers for more info

Reply via email to