I've just installed RoundCube, but I cannot log in. RoundCube seems to think that my IMAP service is down and reports this
SERVICE CURRENTLY NOT AVAILABLE!
Error No. [500]
but my network trace (below, from Wireshark) shows that RoundCube connected to the service just fine,
* OK MY_SERVER Cyrus IMAP4 v2.2.12 server ready
a001 LOGIN "MY_NAME" "MY_PASSWORD"
a001 OK User logged in
cp01 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-
REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT
CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT
THREAD=REFERENCES ANNOTATEMORE IDLE LOGINDISABLED X-NETSCAPE
cp01 OK Completed
ns1 NAMESPACE
* NAMESPACE (("" ".")) (("Other Users." ".")) (("Shared Folders." "."))
ns1 OK Completed
I LOGOUT
* BYE LOGOUT received
I OK Completed
Since the above trace shows that Roundcube can talk to my server, why does it report that that service is "not available"?
Furthermore, the IMAP server is currently in production with various IMAP clients, and at one time worked with an earlier version of RoundCube.
Thanks in advance for any light you might shed on this.
- Jon
Is the error show instead of the login box or after you try and login? If its the former RoundCube hasn't talked to your server yet, try removing the .htaccess in your RoundCube folder.
The error shows after I submitted my username and password; you can verify that by the network trace I submitted earlier (my name and passsword were shown as "MY_NAME" and "MY_PASSWORD").
I tried again after removing four .htaccess files in the RoundCube file tree (these were in the directories logs/, config/, temp/ and in the top directory). I received the exact same result with the same error message.
Are there any changes I can test on my end? Maybe insert some debugging statements into the code?
Thanks for responding so quickly.
- Jon
Is there anything in your error log (/logs)? You could try changing the $rcmail_config['debug_level'] to 8 in the /config/main.inc.php to see if it give any new information.
The good news, it working now.
The bad news, I don't know why.
Your reply prompted me to recheck my config/main.inc.php file, and I found that imap_auth_type was set to plain, so I set it to check, and it worked. Then, I tried to recreate the error and set it back to plain, but it *still worked*!
In fact, I cannot get it to break again!
I'm totally confused about this. I'll have to keep my eye on it, and if I learn how recreate the error I will let you know.
In the meantime, thank you for your help and I'm sorry for the wild goose chase.
- Jon