Enable IMAP4:
Enable IMAP4 logon method in Exchange 2013:
https://www.vircom.com/blog/enable-pop-imap-exchange-2013/Securing POP and IMAP4 Access:
https://practical365.com/exchange-server/exchange-best-practices-secure-pop-and-imap-access/
Testing IMAP4: