After being idle for a short while, sync with the exchange server fails with the failed ssl certificate message. Opening the account set up and forcing a manal setup with no changes will reset something and the sync works just fine. Using imap on a galaxy s6.