log imap open errors