Roundcube Community Forum

 

Roundcube 0.8.1 & Plesk 11

Started by mysticdefiance, September 07, 2012, 11:33:48 AM

Previous topic - Next topic

mysticdefiance

I have installed RC on debian squeeze. Everything goes well. But i have a Problem with the configuration.

Authentication failed all the time.

Quote
Connecting to mydomain.tld...
IMAP connect:  NOT OK(Login failed for [email protected] from my.ip.XXX.XXX. Authentication failed.)

Any one knows this Problem? and can help?

Thanks
Chris

SKaero

Well then you should change the authentication method to one that your mail server supports.

mysticdefiance

How can I find out the default method? I use qmail with plesk.

mysticdefiance

I can use all suggested.

// IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['imap_auth_type'] = empty;

empty works but i get a white site after hit login.

SKaero

I don't know much about Plesk so I can't give you information about the Plesk defaults. Try:

$rcmail_config['imap_auth_type'] = '';

mysticdefiance

Thanks for your help. I try itwith your called solution.
But i still cant login with any imap account.

Quote

$rcmail_config['default_host'] = 'XXX-XXX.de';
$rcmail_config['default_port'] = 143;
$rcmail_config['imap_auth_type'] = '';

Error Log = [08-Sep-2012 12:20:03 +0200]: IMAP Error: Login failed for [email protected] from 79.xxx.xxx.xx. Authentication failed. in /var/www/roundcube/program/include/rcube_imap.php on line 191 (POST /?_task=login&_action=login)

Quote

$rcmail_config['default_host'] = 'tls://XXX-XXX.de';
$rcmail_config['default_port'] = 143;
$rcmail_config['imap_auth_type'] = '';

Error Log =
[08-Sep-2012 12:21:15 +0200]: IMAP Error: Login failed for [email protected] from 79.XXX.XXX.XX. Authentication failed. in /var/www/roundcube/program/include/rcube_imap.php on line 191 (POST /?_task=login&_action=login)

Login Data is OK. Works in Thunderbird and before in atmail perfect.
atmail is removed from system.

same errors if i use DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN.

SKaero

Enable imap_debug and post the log.

mysticdefiance

This is log result:


[09-Sep-2012 19:51:31 +0200]: [59C5] S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution information.
[09-Sep-2012 19:51:31 +0200]: [59C5] C: A0001 AUTHENTICATE CRAM-MD5
[09-Sep-2012 19:51:31 +0200]: [59C5] S: A0001 NO Authentication failed.
[09-Sep-2012 19:51:31 +0200]: [59C5] C: A0002 LOGOUT
[09-Sep-2012 19:51:31 +0200]: [59C5] S: * BYE Courier-IMAP server shutting down
[09-Sep-2012 19:51:31 +0200]: [59C5] S: A0002 OK LOGOUT completed



SKaero

There is a problem with your mail server from the look of it, its saying it supports CRAM-MD5 but when RoundCube try's to use it the mail server says "NO Authentication failed.".