Kevin Sawyer <[EMAIL PROTECTED]> wrote:
>> Run qmail-qstat and qmail-read at this point. Then check the logs for
>> messages relating to the undelivered messages.
>
>qmail-qstat typically shows about 500 messages in the queue and 0 messages
>not yet processed.
That's "preprocessed". Messages are queued by qmail-queue, but
preprocessed by qmail-send. So 0 messages not yet preprocessed means
qmail-send has "seen" every message in the queue.
>qmail-qread only shows remotes that are marked as "done" or very recently
>tried. No locals.
The absence of undelivered locals is unsurprising: local deliveries
happen very quickly. When you say "remotes very recently tried", what
exactly do you mean?
>> OK, that's great. But if you want to figure out what's going on,
>> instead of just flushing the queue, you'll need to use subtler
>> techniques.
>
>I'm all ears...
You need to study the qmail-send logs, qmail-qread output, and the
queue itself to determine where the disrepancy lies. For example, the
next time a user complains about a late delivery, extract all log
entries relating to that message from its reception until its
successful delivery.
If you think there are messages in the queue that qmail-send doesn't
see, identify one by searching the queue. See if you can determine
when/how it was received.
Run qmail-tcpto and see if that explains why some messages aren't
being retried when you think they should.
-Dave