Hi everyone,
   At our work place, we are using IMAPD that came with Redhat 9.0
(imap-2001a-18 ).
Recently one of our user had problem sending mail to a list (an account with
.forward). Half the people on the list got the mail.
When I looked in the maillog, I found that the sendmail had logged a message
 "timeout waiting for input from local during Draining Input"

I checked the mailing list for sendmail and found that this happens when
procmail is not returning.
I searched for all procmail process and found a lot of procmail process to a
particular user waiting.
I checked the /var/mail directory for that user and found a  username.lock
file.   Then I found that the IMAPD process for that user was running for a
long time (start time was 2 days back). I tried killing it with "kill pid"
command.  The IMAPD didn't die.  I had to use "kill -KILL pid" to kill the
IMAPD process.  As soon as I killed this process, all the procmail process
went through and all pending mails for the mailing list went through.
I noticed that the last message from the IMAPD process in the maillog was
 "Connection reset by peer, while reading line user=username
host=hostname[ipaddress]"

Is this a know bug and do I need to update my imap? If so where do I find
the rpm for redhat 9.0.

Next time if this happens, I will use gdb attach and see where exactly this
process is blocked.

Siva

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------

Reply via email to