Bug: 13276 Catch exceptions from Horde_Imap_Client.
Bug: 13276 Log, and then ignore, exceptions when trying to get maillog.