Zsolt Kiss Gere writes:

Hi,
I have the following problem: when I download mail from an external mail
server to the local Courier IMAP server, I got the following error after
1 minute:
javax.mail.StoreClosedException: * BYE Disconnected for inactivity.
at
com.sun.mail.imap.IMAPFolder.throwClosedException(IMAPFolder.java:1975)
at com.sun.mail.imap.IMAPFolder.appendMessages(IMAPFolder.java:1152)
at javax.mail.Folder.copyMessages(Folder.java:1082)

So it seems that Courier is impatient and closes (at least the folder)
after 1 minute. What can I do to increase this timeout ?
The server will only close a connection for inactivity after 30 minutes. This is a generic BYE message that's always used if there was a network failure.

The 1 minute timeout is only used when reading a partial command, or in a middle of sending data to the client.

Either make sure that you send a complete IMAP command in its entirety, without delay, or that you always read any message from the IMAP server, as soon as it becomes available.

If the network socket is full and doesn't accept data for at least a minute, this is usually due to a network failure, or a hung client.




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Reply via email to