I've just installed roundcube (well, did it yesterday, and since yesterday I'm trying to get it working, so I will focus on current installation)
I've downloaded stable release from roundcube, did INSTALL file, all seems to be OK, but I can't login.
What is strange - there is completly no logs except of sql which consist only of changes in session table.
Yes, logs and temp are www-data writeable
To be exact - debian wheezy, fresh installation, dovecot as imap server. Debug turned on in dovecot and roundcube.
When I enter username and password (tried username and username@domain) - no error message, no logs - it just goes
again to login page with all fields blank. Only new logs in sql logfile with new session (or update session key).
When I tried with telnet localhost 143 (to test imap) and enter correct username and password - it works fine.
When I enter username and wrong password - there is a debug message that password is incorrect (in dovecot logs).
But when I'm logging into roundcube - there is no logs for imap - so I'm assuming it just stops before it.
php error logs are displayed, other configuration from roundcube that might be relevant
$rcmail_config['debug_level'] = 1; (I've tried 4 and 8 - no difference)
$rcmail_config['log_driver'] = 'file';
$rcmail_config['log_logins'] = true;
$rcmail_config['log_session'] = true;
$rcmail_config['sql_debug'] = true;
$rcmail_config['imap_debug'] = true;
$rcmail_config['smtp_debug'] = true;
$rcmail_config['default_host'] = 'localhost';
$rcmail_config['default_port'] = 143;
$rcmail_config['imap_auth_type'] = PLAIN; (I've tried null here also, and other options - but PLAIN works fine with telnet)
$rcmail_config['auto_create_user'] = true;
$rcmail_config['log_dir'] = 'logs/';
$rcmail_config['session_domain'] = '';
$rcmail_config['username_domain'] = '';
$rcmail_config['mail_domain'] = '';
And to show you that imap works fine
root@ext:~# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
a1 LOGIN sierp <password>
a1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE] Logged in
a2 LIST "" "*"
* LIST (\NoInferiors \UnMarked) "/" "INBOX.Trash"
* LIST (\NoInferiors \UnMarked) "/" "INBOX.Drafts"
* LIST (\NoInferiors \UnMarked) "/" "INBOX.Sent"
* LIST (\HasNoChildren) "/" "INBOX"
a2 OK List completed.
a3 LOGOUT
* BYE Logging out
a3 OK Logout completed.
Connection closed by foreign host.
root@ext:~#
and in dovecot logs
Jan 5 22:23:58 ext dovecot: imap-login: Login: user=<sierp>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=3860, secured, session=<GCLhwj/vIQB/AAAB>
Jan 5 22:24:12 ext dovecot: imap(sierp): Disconnected: Logged out in=25 out=555
When I try with roundcube - no logs
I went through google and this forum and couldn't find a reason....
Mariusz
btw - when I do test configuration in installer for email sending and imap auth - no logs and no errors again...