MSExchangeIMAP4 Error, Event ID 2007

IT

MSExchangeIMAP4 Error, Event ID 2007

by Brad Fair
//

The Problem:

Today, I fixed an extremely perplexing error. One of our clients was getting errors on every one of his mail programs about SSL for IMAP. One of the errors was “SERVER has sent an incorrect or unexpected message. Error Code: -12263” in Thunderbird.

After I poked around a bit, I found that when I ran “Get-ExchangeCertificate | fl” it found the cert, but said “RootCAType” was Unknown and “Status” was Invalid. Weird how I got an error only for IMAP, since IIS worked without a problem.

Scroll to the bottom to skip the error messages and go straight to the fix!

Relevant Error Messages:

 

Event Type:	Error
Event Source:	MSExchangeIMAP4
Event Category:	(1)
Event ID:	1102
Date:		10/5/2009
Time:		3:19:44 PM
User:		N/A
Computer:	their-mail-server.them.local
Description:
The IMAP4 service failed to connect using SSL or TLS encryption.  A valid certificate is not configured to respond to SSL/TLS connections.  Check the configured hostname as well as which certificates are installed in the Personal Certificates store of the Computer.

 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

and

 

Event Type:	Error
Event Source:	MSExchangeIMAP4
Event Category:	(1)
Event ID:	2007
Date:		10/5/2009
Time:		3:10:33 PM
User:		N/A
Computer:	their-mail-server.them.local
Description:
A certificate for the hostname "mail.thoseguys.com" could not be found.  SSL or TLS encryption cannot be made to the IMAP service.

 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

The Solution:

To resolve the issue, I simply imported the Intermediate Authority’s certificate into the computer’s Intermediate Certificate Authorities store. I got the most current cert from the CA’s website. After I imported the new one, I deleted the old one that was in there, and things worked just fine!

 

More About the Author

Brad Fair

Solutions Architect
Webcast Friday: Tableau Server Performance Monitoring On the second ever Webcast Friday that InterWorks has produced, I had the honor of speaking to our web audience about Tableau Server ...
The Desktop User’s Guide to Tableau Server Are you a Tableau Desktop user who is new to Tableau Server? Do you find yourself confounded by all of the thingamajigs and whatsits, ...

See more from this author →

Subscribe to our newsletter

  • I understand that InterWorks will use the data provided for the purpose of communication and the administration my request. InterWorks will never disclose or sell any personal data except where required to do so by law. Finally, I understand that future communications related topics and events may be sent from InterWorks, but I can opt-out at any time.
  • This field is for validation purposes and should be left unchanged.

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072