Author Topic: IMAP connect: NOT OK - Login failed on  (Read 8640 times)

Offline solver80

  • Newbie
  • *
  • Posts: 1
IMAP connect: NOT OK - Login failed on
« on: September 28, 2013, 06:13:40 AM »

I installed this roundcube on my server but having problem to log in.

In 3rd step of installation I'm trying to Test IMAP config but I'm getting:

Code: [Select]
Connecting to
IMAP connect:  NOT OK(Login failed for from "my IP" LOGIN: Login failed.)

in roundcube log I've got this:
Code: [Select]
[28-Sep-2013 07:56:22 +0000]: IMAP Error: Login failed for from "my IP" Could not connect to php_network_getaddresses: getaddrinfo failed: Name or service not known in /mounted-storage/home104c/sub006/sc44121-FMLD/ on line 184 (POST /email/?_task=login&_action=login)
I know that my login details are correct as I can use them in Thunderbird. Below you can see log from Thunderbird:
Code: [Select]
12800[b722b80]: ImapThreadMainLoop entering [this=d612800]
0[220f140]: clearing IMAP_CONNECTION_IS_OPEN
12800[b722b80]: entering
12800[b722b80]:  = currentUrl
12800[b722b80]: ReadNextLine [stream=c9611a8 nb=189 needmore=0]
12800[b722b80]: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE  QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2010 Double Precision, Inc.  See COPYING for distribution information.12800[b722b80]: try to log in
12800[b722b80]: IMAP auth: server caps 0xC2325, pref 0x0, failed 0x1006, avail caps 0x0
12800[b722b80]: (GSSAPI = 0x1000000, CRAM = 0x0, NTLM = 0x20000, MSN =  0x0, PLAIN = 0x100000, LOGIN = 0x0, old-style IMAP login = 0x200000)auth external IMAP login = 0x0
12800[b722b80]: trying auth method 0x4
12800[b722b80]: got new password
12800[b722b80]: IMAP: trying auth method 0x4
12800[b722b80]: old-style auth
12800[b722b80]: Logging suppressed for this command (it probably contained authentication information)
12800[b722b80]: ReadNextLine [stream=c9611a8 nb=33 needmore=0]
12800[b722b80]: 2 OK connected to proxy server.12800[b722b80]: login succeeded

And here you can see my
Code: [Select]
$rcmail_config['default_host'] = '';
$rcmail_config['default_port'] = 143;
$rcmail_config['imap_auth_type'] = null;
$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_force_ns'] = false;
$rcmail_config['imap_timeout'] = 0;
$rcmail_config['imap_auth_cid'] = null;
$rcmail_config['imap_auth_pw'] = null;
$rcmail_config['imap_cache'] = null;
$rcmail_config['messages_cache'] = false;

I suspect that I should change something in that config file but not sure what.
I really appreciate your help.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,621
Re: IMAP connect: NOT OK - Login failed on
« Reply #1 on: September 28, 2013, 12:34:22 PM »
PHP couldn't connect to, it could be a firewall or other server configuration error. Try using the IP address of the mail server.