On Thu, Aug 09, 2001 at 12:39:28PM -0500, Edward McLain allegedly wrote:
> 
> 
> -----Original Message-----
> From: MarkD [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, August 09, 2001 12:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: qmail-queue question
> 
> >> 3. When the queue shows the message arriving on 30 Jul 2001 15:08:23
> I
> >> tend to think that it actually arrive at 3:08 on Jul 30 of 2001, that
> is
> >> unless qmail is doing something funking with date and time stamps. ;)
> 
> >But you didn't show the log entry that corresponds to this message. As
> >a consultant with 8 years experience you have probably deduced that
> >*all* messages inserted into the queue create a "new msg" log
> >entry. Where is it?
> 
> There was no "new msg" log entry.  Best I can tell the logs only go back
> maybe 3 or 4 days and the messages originated 9 days ago.. Thus the
> problem.

It probably would have been helpful if you'd told us about this at the
start. It seemed like you were trying to suggest that the log entry
never existed. I guess that's a lesson for next time.

> I took Richard's advice and added the socket keep-alive patch and that
> actually seems to have fixed the problem.  The old messages seemed to
> have mysteriously disappeared after replacing the qmail-remote exec.  

Mysteriously? Since we've stressed the importance of looking at logs
for answers, I'm sure you've checked the logs to solve the
"mystery". What did they say? I'm sure if you bother, you'll see that
it's not a "mystery" at all. Unless of course you kill -9 qmail-send,
but no one or no docs have ever told you to do this, right?

In any event, as I said in the the last post; queuelifetime applies
*after* the last delivery attempt has exited. It's almost certainly
the case that you killed qmail-remote (or it exited of its own accord)
at which point qmail-send would notice that queuelifetime is exceeded
and bounce the mail. The logs show this stuff by the way.

> Not to start anything else, but is there any better way to stop qmail
> when using tcp-daemonts than svc -d /service/qmail-send ?
> 
> This doesn't seem to always work and I can't ever seem to get all the

It always works. But qmail-send won't exit until all current
deliveries have exited - in fact it logs an entry each time an
outstanding delivery completes.  Did you see different when you
checked the logs? If so, show us.

Edward, for someone with 8 years experience, you should rejoice that
so many of your mysteries and misunderstandings can be solved by
examining and understanding the logs. If the log messages are a
mystery to you, there are plenty of archived posts explaining the
messages.


Regards.

Reply via email to