Mail fetching issue_Remote host closed connection during handshake

Mail fetching issue_Remote host closed connection during handshake

GUI Error Trace: 

FAILURE :E-mail settings saved successfully. But error occurred while trying to check connection with mail server - Problem connecting to mailbox.


LOG TRACE:

[16:33:06:197]|[11-09-2018]|[SYSERR]|[INFO]|[120]: javax.mail.MessagingException: Remote host closed connection during handshake;
nested exception is: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake| 

Please check do the basic ping and telnet tests as shown below. If the results are successful, but the issue persists and if you are using Exchange server you can try the below steps to fix it.

ping <incoming server name> -t

telnet <incoming server name> <port>

Open the Exchange Management Console and Execute the following command

Get-ServerComponentState -identity Servername

You will notice that the IMAPProxy state is set as inactive

To resolve this issue you must perform the following

Open the Exchange Management Console and Execute the following command

Set-ServerComponentState -Identity Servername -State Active -Requester HealthAPI -Component ImapProxy

Now, check if you are able to save the mail server settings and start the mail fetching process. If that did not help, restart the application and check the issue.

If the issue still persists, kindly seek assistance from your mail server team to perform the command as, it is a mail server issue and not an application issue..





                  New to ADManager Plus?

                    New to ADSelfService Plus?