Release Support > Release Candidate 2

"a001 NO LOGIN failed" in on line 0

(1/3) > >>

svedman:
RoundCube works for all my IMAP accounts except one: imap.registrar.no. I cannot understand why, because this IMAP server works fine with other applications, including web-based ones.

The error message in the log when I try to log in doesn't really say much either:


--- Code: ---IMAP Error: Authentication for [sensored e-mail address] failed (LOGIN): "a001 NO LOGIN failed" in on line 0
--- End code ---

Does this suggest that RoundCube is not sending the credentials correctly to some IMAP servers? Unfortunately I do not know the software this specific server is running. Does anyone know how I can find that out?

Would anyone like to share their thoughts on this?

Regards,
Øyvind

hcl:
Hi,

http://www.courier-mta.org/imap/]Courier-IMAP http://www.courier-mta.org/imap/[/url] is an IMAP server. Having an IMAP server is a prerequisite to be able run a IMAP-client WebMail system like RoudCube.
you must check IMAP/IMAPS is running or not ?
if you run with linux box, try this :

[step 1]
$nmap localhost |grep 143
or
$nmap localhost |grep 443

[step 2]
$telnet localhost 143

#this sample on mybox
telnet localhost 143
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.
a login hcl@mydomain.tld mypassword
a OK LOGIN Ok.
a logout
Connection closed by foreign host

# you can show log in e.g /var/log/maillog

svedman:
Thank you for your answer!

I tried nmap, but got the error message:


--- Code: ---nexthost: Failed to determine dst MAC address for target imap.registrar.no
--- End code ---

I Telnet'ed into the server, and this is what I got (sensored):


--- Code: ---$ telnet imap.registrar.no 143
Trying 213.179.58.79...
Connected to smtp.netclient.no.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS] JIMAP at 19-10-2007 09:31:23 +0000 (GMT)
a login [email]hcl@mydomain.tld[/email] mypassword
a OK [CAPABILITY IMAP4REV1 IDLE MAILBOX-REFERRALS BINARY STARTTLS UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User [email]hcl@mydomain.tld[/email] authenticated
a logout
* BYE JIMAP server terminating connection
a OK LOGOUT completed
Connection closed by foreign host.

--- End code ---

Is the reply from the server unexpected / in an unexpected format for RoundCube?

Is it the server or RoundCube that is "buggy" here?

hcl:
Hi, are you running on hosting ? or own server ? for IMAP, i see a trouble with Authentication library (authdaemon). Or if you running with hosting, tell your hosting administrator. a sample fixed, restart 'authdaemon' and try login with webmail.

and don't forget check main config RC for TCP/Port IMAP on $rcmail_config ['default_host'] and ['default_port']

test create a new account for test it out, don't use old mail account, It could be that you don’t have the mail server setup properly, or maybe the permissions of the files were set improperly. I would have to first check to make sure that A, you are logging in properly (You might need to use username@domain.com or simply username)

and also you can try login from Outlook express client. if Outlook express is ok, something a wrong on your RC setting :)

svedman:
The server is with an external host.

I am able to connect with Opera and other webmail software (such as Squirrel Mail), which is why I think it might be a bug in RC.

I did create new accounts for testing, as you suggested, to make sure I had the correct settings, and they worked with the other software; but not RC.

The connection port is correctly put in RC's main.inc.php, and I have gone over the other RC settings to make sure everything is correct. I am using the full e-mail address as user name, and this is also correct from the mail provider.

So, I think I will report this as a bug?

Navigation

[0] Message Index

[#] Next page

Go to full version