Rather than start yet another post with the same exact symptoms and no definitive replies I'll just join this one.
Debian install everything appears to be fine, if i change username/pass gives error, right username/pass sits and loads until finally saying blahblah has exceeded time limit.
IMAP is definitely on 143 mx records are set properly etc.
Come on guys there has to be one answer for this problem...