Just found this walkthrough & it appears you need port 143 & possible 993 open. Followed the rest of it & that is the only bit I can't do so I think that must be the killer. Whether the IMAP port is open or not.