Internet SMTP/IMAP Server Fails To Connect using SSL Secure Protocol For a Exchange Server 2010
(Doc ID 2083683.1)
Last updated on AUGUST 03, 2018
Applies to:Siebel Email Response - Version 22.214.171.124  and later
Information in this document applies to any platform.
After setup Internet SMTP/IMAP Server driver to connect to MS Exchange Server 2010 using TLS protocol on port 993 the IMAP Driver is not able to connect and the following error can be observed on the IMAP log files
IMAPSMTP[10/14/2015 15:44:35:072]:DBG:connecting to the email server...
connection timeout set: 60(seconds), 60000(milliseconds)
setting TLS parameters...
get session instance
getting store object
Could not connect to email server. JMail client in invalid state!
java.net.SocketException: Connection resetConnection reset[Ljava.lang.StackTraceElement;@85af80
IMAPSMTP[10/14/2015 15:44:35:072]:ERROR:Failed to connect to the email server!
The issue can be reproduced at will with the following steps:
1. Configure Internet SMTP/IMAP Server driver profiles with parameters:
Enable TLS for IMAP = TRUE
Enable SSL for IMAP = FALSE
IMAP Server Port = 143
2. Install JavaMail 1.4.5
3. Setup the EMRJavaSubsys as follow:
JVM Classpath = C:\sba811\siebsrvr\BIN\javamail-1.4.5\mail.jar;C:\sba811\siebsrvr\BIN\JMailClient.jar
JVM DLL Name = C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\client\jvm.dll
JVM Options = -Xmx256m -Djavax.net.ssl.trustStore=C:\\Users\\Administrator\\.keystore -Djavaxnet.ssl.trustStorePassword=changeit
4. Import the MS Exchange Server certificate (.cer) into the JDK default keystore using JDK command:
keytool -import -alias myexchange.us.com -file <path to certificate.cer>
Due this problem Siebel was not able to pull email from the Exchange Server using TLS for IMAP using implicit mode on port 993.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.|