On Wed, Feb 01, 2006 at 01:01:24PM -0000, Andrew Woods wrote: > Hi, we are building an application which uses courier imap. We need to > run fine with 100,000 mailboxes overall. When we created 100,000 > mailboxes and tried to view the mail in one of the boxes the following > java mail exception was thrown. > > > 2006-01-30 10:31:56,280 ERROR [com.anam.mmsportal.action.IMAPAction] Failed to > Connect: could not connect to folder: INBOX on: localhost exception: > javax.mail.MessagingException: * BYE Temporary problem, please try again > later; > nested exception is: > com.sun.mail.iap.ConnectionException: * BYE Temporary problem, please > try again later
So, I can conclude from this that the problem is not with having 100,000 mailboxes. You are trying to access a single mailbox, and it fails. Ideally you should cut your Java client out of the testing loop - just telnet to port 143 and issue IMAP commands directly. See examples at http://www.courier-mta.org/authlib/README.authdebug.html Then you can check whether your authentication works. If you try to login with a valid username but wrong password, do you still get the "Temporary problem" or do you get a positive "Login failed"? If you still have "Temporary problem" then it looks like you have set up your authentication wrongly. The README linked above gives detailled instructions on how to debug that. You can also use 'authtest <user>' and 'authtest <user> <pass>' to check authentication is working, completely independent from the IMAP server. If authentication is working, but logging in to IMAP with a valid user/pass gives "Temporary problem" then something else is amiss. Check your mail logs. Make sure you created the account properly in whatever authentication DB you are using; make sure it has the correct uid/gid and points to the correct home directory; make sure the home directory exists and is owned by the right uid/gid; make sure the Maildir structure exists within it and has correct permissions. > I'm just wondering if there is a configuration file where a threshold > for maximum amount of mailboxes is set? There is no limit. I've had it working with many hundreds of thousands of mailboxes. Brian. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
