On Thu, 2010-08-12 at 14:28 +0200, Iv Ray wrote: > The timeout we face is that sometimes even small messages take 20-40 seconds > to open (i. e. Tunderbird 2 on Windows 7). > Or connection to the mail server timeouts. > > Could you give me a few tips where can I look in order to detect the possible > reason for these timeouts.
Have you looked at if during the 20-40 seconds the disk I/O is high? If the problem is on server and not on network, it might be helpful to strace the process that's taking a long time to reply. Then it could show if it's mainly waiting for some system call to finish. http://wiki.dovecot.org/Debugging/ProcessTracing