RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Older Versions > Release Candidate 2

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 10-11-2007, 05:28 PM
Registered User
 
Join Date: Oct 2007
Posts: 8
Downloads: 0
Uploads: 0
Default "a001 NO LOGIN failed" in on line 0

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
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-19-2007, 02:49 AM
hcl hcl is offline
Registered User
 
Join Date: Oct 2007
Posts: 14
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

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

__________________
I'm use RoundCube with:<br />Linux 2.6.18-8.el5 (Centos 5)<br />QMAIL 1.03<br />MySQL 14.12 Distrib 5.0.22<br />Courier-IMAP-4.0.2<br />Apache/2.2.3<br />Clamav 0.91.2 with SIMCAN 1.3.1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-19-2007, 11:09 AM
Registered User
 
Join Date: Oct 2007
Posts: 8
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

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
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 hcl@mydomain.tld mypassword
a OK [CAPABILITY IMAP4REV1 IDLE MAILBOX-REFERRALS BINARY STARTTLS UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User hcl@mydomain.tld authenticated
a logout
* BYE JIMAP server terminating connection
a OK LOGOUT completed
Connection closed by foreign host.
Is the reply from the server unexpected / in an unexpected format for RoundCube?

Is it the server or RoundCube that is "buggy" here?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-22-2007, 02:42 AM
hcl hcl is offline
Registered User
 
Join Date: Oct 2007
Posts: 14
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

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

__________________
I'm use RoundCube with:<br />Linux 2.6.18-8.el5 (Centos 5)<br />QMAIL 1.03<br />MySQL 14.12 Distrib 5.0.22<br />Courier-IMAP-4.0.2<br />Apache/2.2.3<br />Clamav 0.91.2 with SIMCAN 1.3.1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-23-2007, 07:56 PM
Registered User
 
Join Date: Oct 2007
Posts: 8
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-23-2007, 07:59 PM
Registered User
 
Join Date: Oct 2007
Posts: 8
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

Another user with the same problem:

http://roundcubeforum.net/forum/index.php?topic=2265.0
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 10-25-2007, 01:01 PM
Registered User
 
Join Date: Oct 2007
Posts: 2
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

I have the same issue and still no solution:

Code:
IMAP Error: Authentication for <user> failed (LOGIN): "a001 NO LOGIN failed" in on line 0
IMAP Error: Authentication for <user@domain.tld> failed (LOGIN): "a001 NO LOGIN failed" in on line 0
When i try this, posted from hcl:
Code:
[step 2] from hcl
$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
I get:
Code:
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
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 user@domain.tld password
a NO Login failed.
/var/log/mail.log shows:
Code:
Oct 25 13:52:02 hostname imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 25 13:52:18 hostname imapd: LOGIN FAILED, user=user@domain.tld, ip=[::ffff:127.0.0.1]
Oct 25 13:53:36 hostname imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 25 13:53:36 hostname imapd: LOGIN FAILED, user=user@domain.tld, ip=[::ffff:127.0.0.1]
Oct 25 13:53:41 hostname imapd: Disconnected, ip=[::ffff:127.0.0.1], time=5
Oct 25 13:53:46 hostname imapd: Connection, ip=[::ffff:127.0.0.1]
Oct 25 13:53:46 hostname imapd: LOGIN FAILED, user=user, ip=[::ffff:127.0.0.1]
Oct 25 13:53:51 hostname imapd: Disconnected, ip=[::ffff:127.0.0.1], time=5
when i try to send mails via telnet localhost 25 they are sent and received and everything works fine
Is there no solution, is this maybe even a bug ?
please excuse my bad english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 10-25-2007, 04:25 PM
Registered User
 
Join Date: Oct 2007
Posts: 8
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

Quote:
Originally Posted by Epij
I get:
Code:
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
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 user@domain.tld password
a NO Login failed.
If you're not able to log in via Telnet either, I'm not sure it is the same problem as mine. I was able to log in via Telnet, but not RC.

I do hope you're using your actual username and password with Telnet?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 10-25-2007, 04:53 PM
Registered User
 
Join Date: Oct 2007
Posts: 2
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

yes i login witht the real username, code above was just edited to post here
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 10-28-2007, 07:51 AM
Registered User
 
Join Date: Oct 2007
Posts: 8
Downloads: 0
Uploads: 0
Default Re: "a001 NO LOGIN failed" in on line 0

Bug reported: http://trac.roundcube.net/ticket/1484643
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 11:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community