Author Topic: Empty startup greeting with roundcubemail-0.5.2  (Read 10459 times)

Offline fableman

  • Newbie
  • *
  • Posts: 2
Empty startup greeting with roundcubemail-0.5.2
« on: June 01, 2011, 03:14:56 PM »
Hi.

using:roundcubemail-0.5.2

I have to say Iam new with roundcube (my first installation, but I spent 4 hours trying to solve this problem and now Iam posting here.)

I run installer and got all green and IMAP check was Ok and everything installed.

I use dovecot-1.0.7-7.el5.x86_64   (centos 5.6)
And I can login from outlook without any problems.

But when I try to login it takes 60 sec then I get:

[01-Jun-2011 20:52:56 +0200]: IMAP Error: Login failed for ellinor from 10.0.100.10. Empty startup greeting (127.0.0.1:993) in /home/roundcube/public_html/roundcubemail-0.5.2/program/include/rcube_imap.php on line 192 (POST /~roundcube/roundcubemail-0.5.2/?_task=login&_action=login)


-----------------------
[root@mail ~]# cat /etc/php.d/json.ini

; Enable json extension module
extension=json.so

------------------------
[root@mail ~]# cat /var/log/dovecot

dovecot: Jun 01 21:08:50 Info: imap-login: Disconnected: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, TLS handshake

------------------------

$rcmail_config['default_host'] = '127.0.0.1';

// TCP port used for IMAP connections
//$rcmail_config['default_port'] = 143;
$rcmail_config['default_port'] = 993;

// IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)

//$rcmail_config['imap_auth_type'] = null;
$rcmail_config['imap_auth_type'] = 'PLAIN';


// If you know your imap's folder delimiter, you can specify it here.
// Otherwise it will be determined automatically
$rcmail_config['imap_delimiter'] = null;

// If IMAP server doesn't support NAMESPACE extension, but you're
// using shared folders or personal root folder is non-empty, you'll need to
// set these options. All can be strings or arrays of strings.
// Folders need to be ended with directory separator, e.g. "INBOX."
// (special directory "~" is an exception to this rule)
// These can be used also to overwrite server's namespaces
$rcmail_config['imap_ns_personal'] = null;
$rcmail_config['imap_ns_other']    = null;
$rcmail_config['imap_ns_shared']   = null;

// By default IMAP capabilities are readed after connection to IMAP server
// In some cases, e.g. when using IMAP proxy, there's a need to refresh the list
// after login. Set to True if you've got this case.
$rcmail_config['imap_force_caps'] = false;


--------------------------------

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Empty startup greeting with roundcubemail-0.5.2
« Reply #1 on: June 01, 2011, 03:36:16 PM »
Try $rcmail_config['default_host'] = 'ssl://127.0.0.1';

Offline fableman

  • Newbie
  • *
  • Posts: 2
Empty startup greeting with roundcubemail-0.5.2
« Reply #2 on: June 01, 2011, 04:14:07 PM »
thanks alot that did the trick.

Think roundcube should improve the error reporting to help out users better. :)

Offline mawcomw

  • Newbie
  • *
  • Posts: 4
Empty startup greeting with roundcubemail-0.5.2
« Reply #3 on: June 05, 2011, 05:12:10 PM »
Hi,

I am having the same trouble with versin 0.52!
I tried all kind of configuration on IMAPS (ssl:// tls:// without any), (localhost and 127.0.0.1) and (PLAIN, LOGIN, null and even '').
I enabled the dovecot greeting message, and make sure tha pear SASL_Auth was installed.

My actual configuration is:

$rcmail_config['default_host'] = 'tls://localhost';
$rcmail_config['default_port'] = 993;
$rcmail_config['imap_auth_type'] = 'PLAIN';
$rcmail_config['imap_delimiter'] = null;
$rcmail_config['imap_ns_personal'] = null;
$rcmail_config['imap_ns_other']    = null;
$rcmail_config['imap_ns_shared']   = null;
$rcmail_config['imap_force_caps'] = false;
$rcmail_config['imap_force_lsub'] = false;
$rcmail_config['imap_timeout'] = 0;
$rcmail_config['imap_auth_cid'] = null;
$rcmail_config['imap_auth_pw'] = null;


Note: stmp over ssl works fine.

Anyone can help??