Exchange 2013 IMAP issue

I am now in an issue. Some of our clients are using IMAP/SMTP but all of a sudden IMAP stopped working after a server reboot i guess.I have checked everything:

In the test i am connecting using the local ip of the cas server.

IMAP settings:

UnencryptedOrTLSBindings  SSLBindings                       LoginType                         X509CertificateName
------------------------  -----------                       ---------                         -------------------
{[::]:143, 0.0.0.0:143}   {[::]:993, 0.0.0.0:993}           SecureLogin                       mail.xxx.com

IMAP CAS server log:

2015-02-05T11:48:58.679Z,0000000000000055,3,192.168.1.212:143,192.168.3.136:49308,,1,12,110,capability,,R=ok
2015-02-05T11:48:58.835Z,0000000000000055,4,192.168.1.212:143,192.168.3.136:49308,test10,118,31,30,authenticate,plain,"R=""4 NO AUTHENTICATE failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx Mailbox:xx.xxx.com;Proxy:xx.xx.com:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:48:59.006Z,0000000000000055,5,192.168.1.212:143,192.168.3.136:49308,test10,116,22,20,login,test10 *****,"R=""6 NO LOGIN failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:49:00.691Z,0000000000000055,6,192.168.1.212:143,192.168.3.136:49308,test10,121,31,30,authenticate,plain,"R=""8 NO AUTHENTICATE failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:49:00.910Z,0000000000000055,7,192.168.1.212:143,192.168.3.136:49308,test10,198,23,53,login,test10 *****,"R=""10 NO LOGIN failed.\r\n* BYE Connection is closed. 14"";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""

I am getting the error : incorrect password/username

I tried both SSL and STARTTLS but both failing.I have a working wildcard certificate in CAS server and self signed certificate in Mailbox server.

Tried restarting both CAS and Mailbox servers but no joy.

In the mailbox server i am getting below errors in the event log:

The IMAP4 service failed to connect using SSL or TLS encryption. No valid certificate is configured to respond to SSL/TLS connections. Check the configured host name as well as which certificates are installed in the Personal Certificates store of the computer.

A certificate for the host name "mail.xx.com" couldn't be found. Neither SSL or TLS encryption can be made to the IMAP service.

Tried POP also same error.

I am attaching the Microsoft connection analyser log:

I am using a wildcard certificate.

I know there are lot of experts there. Please help.

February 5th, 2015 10:35am

I have seen that randomly occur on some servers. Doing the following usually does the trick

1. Remove the certificate and re-add the certificate again on that Exhange 2013 server.
2. In Exchange Management Shell run the following: Enable-ExchangeCertificate -Thumbprint XXXXXXXXXX -Services POP,IMAP
3. Restart the Imap and Pop frontend and backend services.

Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 11:57am

But it is a wildcard certificate.
February 5th, 2015 1:49pm

Hi ,

Please check the below mentioned link.

http://careexchange.in/how-to-enable-and-configure-pop-imap-in-exchange-2013/

Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 1:55pm

Dear friends,

I am now in an issue. Some of our clients are using IMAP/SMTP but all of a sudden IMAP stopped working after a server reboot i guess.I have checked everything:

In the test i am connecting using the local ip of the cas server.

IMAP settings:

UnencryptedOrTLSBindings  SSLBindings                       LoginType                         X509CertificateName
------------------------  -----------                       ---------                         -------------------
{[::]:143, 0.0.0.0:143}   {[::]:993, 0.0.0.0:993}           SecureLogin                       mail.xxx.com

IMAP CAS server log:

2015-02-05T11:48:58.679Z,0000000000000055,3,192.168.1.212:143,192.168.3.136:49308,,1,12,110,capability,,R=ok
2015-02-05T11:48:58.835Z,0000000000000055,4,192.168.1.212:143,192.168.3.136:49308,test10,118,31,30,authenticate,plain,"R=""4 NO AUTHENTICATE failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx Mailbox:xx.xxx.com;Proxy:xx.xx.com:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:48:59.006Z,0000000000000055,5,192.168.1.212:143,192.168.3.136:49308,test10,116,22,20,login,test10 *****,"R=""6 NO LOGIN failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:49:00.691Z,0000000000000055,6,192.168.1.212:143,192.168.3.136:49308,test10,121,31,30,authenticate,plain,"R=""8 NO AUTHENTICATE failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:49:00.910Z,0000000000000055,7,192.168.1.212:143,192.168.3.136:49308,test10,198,23,53,login,test10 *****,"R=""10 NO LOGIN failed.\r\n* BYE Connection is closed. 14"";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""

I am getting the error : incorrect password/username

I tried both SSL and STARTTLS but both failing.I have a working wildcard certificate in CAS server and self signed certificate in Mailbox server.

Tried restarting both CAS and Mailbox servers but no joy.

In the mailbox server i am getting below errors in the event log:

The IMAP4 service failed to connect using SSL or TLS encryption. No valid certificate is configured to respond to SSL/TLS connections. Check the configured host name as well as which certificates are installed in the Personal Certificates store of the computer.

A certificate for the host name "mail.xx.com" couldn't be found. Neither SSL or TLS encryption can be made to the IMAP service.

Tried POP also same error.

I am attaching the Microsoft connection analyser log:

I am using a wildcard certificate.

I know there are lot of experts there. Please help.

February 5th, 2015 2:16pm

It doesnt matter if its a wildcard or regular named cert, it happens. It happened to me on Exchange 2010 & 2013 both with wild card certs.
February 5th, 2015 2:33pm

Hi Exchangetvm,

as you said the server returned "10 NO LOGIN failed" and it suddenly started after a reboot.

As you still got connected to the CAS, please check also the IMAP4 backend service is running on the mailbox server where your users active mailbox lives.

10 NO LOGIN failed is also replied if the backend server is not running.

Please check.

Regards,
Martin

Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 2:41pm

Dear friends,

I am now in an issue. Some of our clients are using IMAP/SMTP but all of a sudden IMAP stopped working after a server reboot i guess.I have checked everything:

In the test i am connecting using the local ip of the cas server.

IMAP settings:

UnencryptedOrTLSBindings  SSLBindings                       LoginType                         X509CertificateName
------------------------  -----------                       ---------                         -------------------
{[::]:143, 0.0.0.0:143}   {[::]:993, 0.0.0.0:993}           SecureLogin                       mail.xxx.com

IMAP CAS server log:

2015-02-05T11:48:58.679Z,0000000000000055,3,192.168.1.212:143,192.168.3.136:49308,,1,12,110,capability,,R=ok
2015-02-05T11:48:58.835Z,0000000000000055,4,192.168.1.212:143,192.168.3.136:49308,test10,118,31,30,authenticate,plain,"R=""4 NO AUTHENTICATE failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx Mailbox:xx.xxx.com;Proxy:xx.xx.com:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:48:59.006Z,0000000000000055,5,192.168.1.212:143,192.168.3.136:49308,test10,116,22,20,login,test10 *****,"R=""6 NO LOGIN failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:49:00.691Z,0000000000000055,6,192.168.1.212:143,192.168.3.136:49308,test10,121,31,30,authenticate,plain,"R=""8 NO AUTHENTICATE failed."";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""
2015-02-05T11:49:00.910Z,0000000000000055,7,192.168.1.212:143,192.168.3.136:49308,test10,198,23,53,login,test10 *****,"R=""10 NO LOGIN failed.\r\n* BYE Connection is closed. 14"";Msg=""User:test10:8b58cbbf-76c5-4f5e-be0f-799560817d34:xx:xxx.xx;Proxy:xxx.xx:9933:SSL;ProxyNotAuthenticated"""

I am getting the error : incorrect password/username

I tried both SSL and STARTTLS but both failing.I have a working wildcard certificate in CAS server and self signed certificate in Mailbox server.

Tried restarting both CAS and Mailbox servers but no joy.

In the mailbox server i am getting below errors in the event log:

The IMAP4 service failed to connect using SSL or TLS encryption. No valid certificate is configured to respond to SSL/TLS connections. Check the configured host name as well as which certificates are installed in the Personal Certificates store of the computer.

A certificate for the host name "mail.xx.com" couldn't be found. Neither SSL or TLS encryption can be made to the IMAP service.

Tried POP also same error.

I am attaching the Microsoft connection analyser log:

I am using a wildcard certificate.

I know there are lot of experts there. Please help.

February 5th, 2015 10:14pm

Hi Martin,

The IMAP backend service is running in the mailbox server.

Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 10:49pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics