Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: mysticdefiance on September 07, 2012, 11:33:48 AM

Title: Roundcube 0.8.1 & Plesk 11
Post by: mysticdefiance on September 07, 2012, 11:33:48 AM
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
Title: Re: Roundcube 0.8.1 & Plesk 11
Post by: SKaero on September 07, 2012, 11:44:13 AM
Well then you should change the authentication method to one that your mail server supports.
Title: Re: Roundcube 0.8.1 & Plesk 11
Post by: mysticdefiance on September 07, 2012, 12:26:47 PM
How can I find out the default method? I use qmail with plesk.
Title: Re: Roundcube 0.8.1 & Plesk 11
Post by: mysticdefiance on September 07, 2012, 12:37:35 PM
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.
Title: Re: Roundcube 0.8.1 & Plesk 11
Post by: SKaero on September 07, 2012, 01:40:42 PM
I don't know much about Plesk so I can't give you information about the Plesk defaults. Try:

$rcmail_config['imap_auth_type'] = '';
Title: Re: Roundcube 0.8.1 & Plesk 11
Post by: mysticdefiance on September 08, 2012, 06:28:19 AM
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.
Title: Re: Roundcube 0.8.1 & Plesk 11
Post by: SKaero on September 08, 2012, 07:16:34 AM
Enable imap_debug and post the log.
Title: Re: Roundcube 0.8.1 & Plesk 11
Post by: mysticdefiance on September 09, 2012, 01:54:42 PM
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


Title: Re: Roundcube 0.8.1 & Plesk 11
Post by: SKaero on September 09, 2012, 03:38:40 PM
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.".