How to configure correct e-mail server on Open-Xchange Server on Debian 6.0?

I did all instructions from:
http://oxpedia.org/wiki/index.php?ti...Debian_6.0_622
and
http://oxpedia.org/wiki/index.php?ti..._Setup_Debian4

after logging into localserver (connected to the internet I have this errors):


1. 10-03-2013 02:47 PM GMT
Unable to establish a connection to the E-Mail server. Possible reasons: the mail server is (temporarily) down or there are network connection problems. To prevent further errors the module has been disabled. Please contact your administrator. (UI-0000, 0)
2. 10-03-2013 02:47 PM GMT
Connection was refused or timed out while attempting to connect to remote server imap.gmail.com for user tomashaasas@gmail.com. (IMAP-1016, 232750766-595)

Date: Thu Oct 03 2013 16:47:48 GMT+0200 (Środkowoeuropejski czas letni)
Host: http://192.168.0.22/ox6/ox.html
Version: 6.22.4 Rev11 (UI), 7.4.0-Rev11 (Server)
Browser: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36

Module: portal, View: portal, Folder: undefined, Default folders: infostore=33tasks=32eas=truecontacts=31calendar=30 , Landing page: portal, Tree: New, Expert: Yes, Language: en_US

Loaded modules: calendar, com.openexchange.extras, com.openexchange.secret.recovery, com.openexchange.user.passwordchange, com.openexchange.user.personaldata, contacts, folder, infostore, interfaces, mail, mailaccount, olox20, portal, tasks, themes, uwaWidgets


Please help!