Hey Anton,

You can get some additional debugging by setting the environment 
variable CYRUS_VERBOSE to a value > 2 before you start the master. If 
you set it to > 30 every pop3d/imapd will sleep 15 seconds to allow a 
debugger to connect.

hope this helps..

Regards,

Hugo

Anton Roeckseisen wrote:

> Hi,
> 
> My system: Solaris 2.7, sendmail 8.11.2, cyrus 2.0.12, sasl 1.5.24, openssl 
> 0.9.6
> berkeley-db 3.1.17, perl 5.6.0
> 
> I've experienced following Problem an right now tracking it down. Maybe 
> someone can share some ideas....
> 
> At some point in time email doesn't get delivered any more. Mailqueue gets 
> longer and longer with "in transit mails having a '*'" These mails seem to 
> stay in the queue forever. Maybe there is also a sendmail problem not timing 
> out. Logfile of sendmail says: "timeout waiting for input from local during 
> Draining Input". The mails are destined to be delivered locally to the 
> cyrus-Mailsystem. I see deliver-Processes and lmtpd's obviously for each 
> sendmail-process trying to deliver mail.
> 
> If I kill the cyrus-master-process and restart it everything seems to work 
> again. After running the mailqueue every mail gets delivered at once.
> 
> The whole mess seems to start when a user via dial in drops connection. 
> Several old imapd's of this user are hanging around (he don't owns them, but I 
> checked with the logfile for who logged in)
> 
> 
> So I blame a deadlock between imapd doing something and lmtpd trying to get a 
> ressource-lock or somthing like that before delivering mail.
> 
> Can someone please give a hint how to get more info whats going on with 
> debugging swiches or something? I didn't find any hints in the manpages about 
> how to turn really verbose debugging on.
> 
> 
> Thanks for any hints,
>                       Anton
> 
> 
> 

Reply via email to