Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: EdelingF on May 26, 2008, 07:33:08 PM
-
I've tried to install the Roundcube-contrib like in http://wiki.contribs.org/RoundCube (http://wiki.contribs.org/RoundCube) twice now and everything seems to be ok, but one way or the other Roundcube is not accepting my username and password.
Installed: smeserver-roundcube.noarch 0:0.9-7.el4.sme
Dependency Installed: roundcube.noarch 0:0.1-479svn.el4.sme
This is what 'config show roundcube' gives:
roundcube=service
DbName=roundcube
DbPassword=XXXXXXXXXXXXXXXX
DbUser=roundcube
Name=RoundCube IMAP Client
PublicAccess=global
status=enabled
Have I forgotten something?
-
hi..
yes, you forgot to look in your /var/log/* files looking for the reason.. :-)
Ciao
Stefano
-
Been staring at /var/log/* for a while now, but haven't got a clue where to look.
Can you give me a direction?
-
Had a clear moment, checked the Roundcube error-log:
[27-May-2008 21:27:39 +0200] IMAP Error: Could not connect to mydomain.nl at port 143: Connection timed out in on line 0
Global secure IMAP is on, so that shouldn't be the problem.
-
What happenes when you do:
telnet mydomain.nl 143
??
-
No results, just
Trying xx.xx.xx.xx...
Seems like IMAP is not working ?
-
What about:
config show imap
and
config show imaps
??
-
What about:
config show imap
[root@server ~]# config show imap
imap=service
ConcurrencyLimit=400
ConcurrencyLimitPerIP=12
TCPPort=143
access=private
status=enabled
and
config show imaps
??
[root@server ~]# config show imaps
imaps=service
ConcurrencyLimit=400
ConcurrencyLimitPerIP=12
TCPPort=993
access=public
status=enabled
If I'm interpreting it correct, the IMAP service is only private?
-
Yes, imaps is public and imap is private. But roundcube access it locally so it is fine. But that explains...
Trying xx.xx.xx.xx...
...if you tried to telnet from outside the network.
Try to telnet from the server console
telnet localhost 143
If it still isn't working, disable imap in server-manager and the enable it again.
-
Try to telnet from the server console
[root@server ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK imapfront ready. + stunnel
So that's ok?
-
[root@server ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK imapfront ready. + stunnel
So that's ok?
Yes
-
Roundcube should work now.
-
Roundcube should work now.
Only if the user is using localhost as hostname, which is still not clear to me, this posts (http://forums.contribs.org/index.php?topic=41128.msg191471#msg191471) is suggesting he is using his FQDN instead of localhost.
-
Nope, Roundcube is still not working.
I've tried 127.0.0.1/roundcube/ and https://localhost/roundcube/ and www.mydomain.nl/roundcube/ in firefox and IE7, but still not able to login.
Even if I try to login as admin with Putty on my server and startup the server-console and use the text-mode browser to go to http://localhost/roundcube/ , I'm still not able to login.
-
Nope, Roundcube is still not working.
I've tried 127.0.0.1/roundcube/ and https://localhost/roundcube/ and www.mydomain.nl/roundcube/ in firefox and IE7, but still not able to login.
Even if I try to login as admin with Putty on my server and startup the server-console and use the text-mode browser to go to http://localhost/roundcube/ , I'm still not able to login.
The localhost setting you are using in the context described above is different from the context you stated in earlier messages. Did you adapt your configuration to access the IMAP server at localhost instead of with the full qulaified domain name (FQDN)? You most likely should do so first in order to resolve the issue you posted earlier in this thread where you stated the following:
Had a clear moment, checked the Roundcube error-log:
[27-May-2008 21:27:39 +0200] IMAP Error: Could not connect to mydomain.nl at port 143: Connection timed out in on line 0
Global secure IMAP is on, so that shouldn't be the problem.
In order to help us solve your issues it would help if you were to describe as precise as possible what action you are taking and what is not working as well as the error messages you get (on screen or in the log files). Stating that it does not work does not give us any clue on how to tackle your issues.
-
Cactus,
I think I don't really understand. Do you mean I should alter the template?
The localhost setting you are using in the context described above is different from the context you stated in earlier messages. Did you adapt your configuration to access the IMAP server at localhost instead of with the full qulaified domain name (FQDN)?
If I'm correct, I should replace $DomainName in the template /etc/e-smith/templates/opt/roundcube/config/main.inc.php/10default_host :
{
$OUT .= "\$rcmail_config['default_host'] = '$DomainName';";
$OUT .= "\$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Trash');";
$OUT .= "\$rcmail_config['junk_mbox'] = 'junkmail'; ";
$OUT .= "\$rcmail_config['sent-mail'] = 'sent-mail'; ";
$OUT .= "\$rcmail_config['preview_pane'] = TRUE; ";
}
If that's correct, should I just replace '$DomainName' with 'localhost'?
-
Replaced '$DomainName' with 'localhost' in the template /etc/e-smith/templates/opt/roundcube/config/main.inc.php/10default_host and did:
expand-template /opt/roundcube/config/main.inc.php
And that solved the problem! :lol:
Thanks guys