On 24 Feb 2000, Ian Lance Taylor wrote:
> From: "Peter Samuel" <[EMAIL PROTECTED]>
> Date: Thu, 24 Feb 2000 17:09:10 +1100 (EST)
>
> I _know_ what INTERNALS says Dan, but try this test and you'll see that
> it does leave the queue in a corrupt state
>
> echo "echo "Fpsamuel\0Tpsamuel\0" > /tmp/envelope
> echo hello | qmail-queue 1</tmp/envelope
>
> Because the envelope details do NOT end with two NULL characters,
> qmail-queue exits with a 91 and does NOT unlink the mess or intd file.
>
> But that's not a corrupt state according to INTERNALS. That is state
> S3. According to INTERNALS, qmail-send will clean it up after 36
> hours.
>
> It may not be what you want, but it's not corrupt.
OK. I'll grant you that it's not corrupt per se. However, the original
thread of this discussion was (to paraphrase the original poster):
why does qmail-qstat show messages in the queue, while qmail-qread
doesn't show anything
My example shows one such way in which this might occur.
So, instead of saying the queue is corrupt (which is incorrect), how
about I say:
qmail-queue is not consistent in its behaviour when processing
invalid envelope details.
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
Technical Consultant or at present:
eServ. Pty Ltd [EMAIL PROTECTED]
Phone: +61 2 9206 3410 Fax: +61 2 9281 1301
"If you kill all your unhappy customers, you'll only have happy ones left"