After user authentification goes OK, the imapd stops doing anything after selecting a mailbox.
To isolate this problem further:
How large is the mailbox? If the mailbox is hundreds of megabytes, it may take a while for the SELECT to return.
A small mailbox should return instantly.
Are you using unmodified UW imapd direct from UW, or is it from a third-party distribution? If the latter, have you tried the UW distribution:
ftp://ftp.cac.washington.edu/mail/imap.tar.Z
or
ftp://ftp.cac.washington.edu/mail/imap-2004.RC.tar.Z
Are there any other modifications or third-party drivers (not supplied by UW)? Many problems are caused by well-intentioned but ill-conceived modifications.
Have you tried running imapd under gdb (omit the login step when you do this) to see where it is when it is hanging?
-- Mark --
http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.
