Entourage 2008 connecting to Domino Mail Server via IMAP

This seems to work with Entourage 2004 but not with Entourage 2008. Has anyone solved this issue?

Error

The IMAP server’s response was missing the expected command and was not understandable

Explanation

An error occurred on the IMAP server

Account name: “xxxxxxx”

Error: -17495