Courier-imap and Outlook”s idle errors
- June 20th, 2011
- Write comment
We had a staff member that was intermittently seeing the error:
Your IMAP server closed the connection. This can occur if you leave the connection idle for too long.
This was rather tedious as it grabbed focus and had to be acknowledged before you could use Outlook again. I edited imapd which I found at /usr/lib/courier-imap/etc/imapd and changed the following:
IMAP_ENHANCEDIDLE=1
IMAP_USELOCKS=1
I also made sure that IMAP_CAPABILITY had IDLE in it”s list and that appeared to fix it. Apparently it”s something to do with shared mailboxes, IDLE and some email clients not playing nice.