MBOX-Line: From rfs9999 at earthlink.net  Sat Jul 27 07:56:51 2013
To: imap-protocol@u.washington.edu
From: Rick Sanders <rfs9999@earthlink.net>
Date: Fri Jun  8 12:34:51 2018
Subject: [Imap-protocol] Exchange IMAP service dropping sessions after 9
	errors
In-Reply-To: <20130410222025.GC25711@arlut.utexas.edu>
References: <20130410222025.GC25711@arlut.utexas.edu>
Message-ID: <51F3DFB3.6010609@earthlink.net>

I have observed that the Exchange IMAP server will disconnect an IMAP 
session after 9 errors (such as issuing an EXAMINE command on a 
non-existent mailbox or trying to append a message with an invalid 
internaldate.

I've seen this with Exchange 2007 but the limit may exist in new 
versions as well.

That can represent a problem during migration of a user account since 
during copying thousands of messages it is unreasonable to hit the error 
limit and get blown away.

I have modified my migration tool to deal with this by counting the 
number of NO or BAD status returns, disconnecting & reconnecting, and 
then resuming from the point of error.

However, I would like to ask if anyone knows if the error threshold is 
configurable in Exchange.

Thanks,
Rick

