Author Topic: Roundcube 0.8.1 & Plesk 11  (Read 6515 times)

Offline mysticdefiance

  • Newbie
  • *
  • Posts: 5
Roundcube 0.8.1 & Plesk 11
« 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 user@mydomain.tld from my.ip.XXX.XXX. Authentication failed.)

Any one knows this Problem? and can help?

Thanks
Chris

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Roundcube 0.8.1 & Plesk 11
« Reply #1 on: September 07, 2012, 11:44:13 AM »
Well then you should change the authentication method to one that your mail server supports.

Offline mysticdefiance

  • Newbie
  • *
  • Posts: 5
Re: Roundcube 0.8.1 & Plesk 11
« Reply #2 on: September 07, 2012, 12:26:47 PM »
How can I find out the default method? I use qmail with plesk.

Offline mysticdefiance

  • Newbie
  • *
  • Posts: 5
Re: Roundcube 0.8.1 & Plesk 11
« Reply #3 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Roundcube 0.8.1 & Plesk 11
« Reply #4 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:
Code: [Select]
$rcmail_config['imap_auth_type'] = '';

Offline mysticdefiance

  • Newbie
  • *
  • Posts: 5
Re: Roundcube 0.8.1 & Plesk 11
« Reply #5 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
Code: [Select]
$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 info@xx-xx.de 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
Code: [Select]
$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 info@XXX-XXX.de 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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Roundcube 0.8.1 & Plesk 11
« Reply #6 on: September 08, 2012, 07:16:34 AM »
Enable imap_debug and post the log.

Offline mysticdefiance

  • Newbie
  • *
  • Posts: 5
Re: Roundcube 0.8.1 & Plesk 11
« Reply #7 on: September 09, 2012, 01:54:42 PM »
This is log result:

Code: [Select]
[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


Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Roundcube 0.8.1 & Plesk 11
« Reply #8 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.".