Author Topic: IMAP connect: NOT OK - Login failed on servage.net  (Read 10367 times)

Offline solver80

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

I installed this roundcube on my servage.net 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 incoming.servage.net...
IMAP connect:  NOT OK(Login failed for my@email.com 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 my@email.com from "my IP" Could not connect to  incoming.servage.net:143: php_network_getaddresses: getaddrinfo failed: Name or service not known in /mounted-storage/home104c/sub006/sc44121-FMLD/mywebsite.com/email/program/lib/Roundcube/rcube_imap.php 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]: d612800:incoming.servage.net:NA:SetupWithUrl: clearing IMAP_CONNECTION_IS_OPEN
12800[b722b80]: d612800:incoming.servage.net:NA:ProcessCurrentURL: entering
12800[b722b80]: d612800:incoming.servage.net:NA:ProcessCurrentURL:imap://info%40webhayer%2Ecom@incoming.servage.net:143/select%3E.INBOX:  = currentUrl
12800[b722b80]: ReadNextLine [stream=c9611a8 nb=189 needmore=0]
12800[b722b80]: d612800:incoming.servage.net:NA:CreateNewLineFromSocket: * 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]: d612800:incoming.servage.net:NA:SendData: Logging suppressed for this command (it probably contained authentication information)
12800[b722b80]: ReadNextLine [stream=c9611a8 nb=33 needmore=0]
12800[b722b80]: d612800:incoming.servage.net:NA:CreateNewLineFromSocket: 2 OK connected to proxy server.12800[b722b80]: login succeeded

And here you can see my main.inc.php:
Code: [Select]
$rcmail_config['default_host'] = 'incoming.servage.net';
$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,876
    • SKaero - Custom Roundcube development
Re: IMAP connect: NOT OK - Login failed on servage.net
« Reply #1 on: September 28, 2013, 12:34:22 PM »
PHP couldn't connect to incoming.servage.net, it could be a firewall or other server configuration error. Try using the IP address of the mail server.