Hello there,
I have a problem connecting my roundcube to my imap server.
So, here it is :
I have a working imap server (dovecot). I can successfully telnet it, or ssl it (from localhost or from another ip of my local network). I can even use my thunderbird from another local computer.
Then I installed roundcube on this server (0.3.1-3), but I cannot connect to my localhost imap server.
I enabled log in main.inc.php file ($rcmail_config['debug_level'] = 8;)
set auth as plain ($rcmail_config['imap_auth_type'] = 'plain';)
The roundcube log is not very talkative.
Looking in my dovecot log, i see two different behaviour. One is when it seems correct, and roundcube log in imap server, but is disconnect immediately :
2010-07-20 21:36:00 auth(default): Info: passwd-file(mylogin,127.0.0.1): lookup: user=mylogin file=/etc/dovecot/passwd
2010-07-20 21:36:00 auth(default): Info: master out: USER 6 mylogin uid=8 gid=8 home=/var/mail/mylogin
2010-07-20 21:36:00 imap-login: Info: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2010-07-20 21:36:00 IMAP(mylogin): Info: Disconnected: Logged out bytes=39/431
Second is when server is refusing the password :
2010-07-20 21:36:37 auth(default): Info: passwd-file(mylogin,127.0.0.1): lookup: user=mylogin file=/etc/dovecot/passwd
2010-07-20 21:36:37 auth(default): Info: passwd-file(mylogin,127.0.0.1): Password mismatch
2010-07-20 21:36:37 auth(default): Info: passwd-file(mylogin,127.0.0.1): PLAIN(b��xHy���+bp�) != 'mypass_in_clear'
I am working with a plain text passwd, with no encryption at all. Does roundcube encrypt the password I type before to sent it to imap ? Regarding the log it seems so. Where can i disable it (didn't find in the main.inc.php options), as I don't want any encryption.
Is there any way to increase the log on roundcube ? The 8 value doesn't give me lot of traces about authentication.
I cannot explain the first behaviour, when roundcube sometimes managed to connect but disconnect immediately. I manage ONE time to reach my mailboxes, but i don't know how, and this never happens again.
Thanks in advance, if anybody has any clues about my problem...