priyadi / roundcube-converse.js-xmpp-plugin

XMPP plugin for Roundcube Webmail based on converse.js
48 stars 18 forks source link

openfire #27

Open scooserver opened 10 years ago

scooserver commented 10 years ago

Hi ,i'am trying to implement Your plugin in my Roundcube (0.9.5) interface,without success i allways got unable to connect message..or white page I'am unable to connect to my openfire server....could you wirite a little documentation please how to do that?or suggest another openfire like server for my linux box?It is possible to use whit openfie? Thankyou

priyadi commented 10 years ago

The required documentation is in the README.md file. If you are having problem after following the instructions, please also see TROUBLESHOOTING.md file.

scooserver commented 10 years ago

I readed,a set -up openfire,but still nothing, i was able to connect as anonymous but that's all, if you have any idea what is the problem, please help me Also another question,it is possible to authenticate with my roundcube email adress? Thankyou

priyadi commented 10 years ago

Before doing anything with this plugin, you need to make sure your XMPP server is working, and then set it up to use the same credentials as your IMAP server. Typically, you will need both to use LDAP authentication.

I cannot help if you haven't done that. If you have problem, consult Openfire documentation or ask for help in their mailing list.

scooserver commented 10 years ago

For my email users are stored in MySQLtables , I will try to set-up openfire with MySQL I think also is possible.. On Wednesday, May 14, 2014, Priyadi Iman Nurcahyo notifications@github.com wrote:

Before doing anything with this plugin, you need to make sure your XMPP server is working, and then set it up to use the same credentials as your IMAP server. Typically, you will need both to use LDAP authentication.

I cannot help if you haven't done that. If you have problem, consult Openfire documentation or ask for help in their mailing list.

— Reply to this email directly or view it on GitHubhttps://github.com/priyadi/roundcube-converse.js-xmpp-plugin/issues/27#issuecomment-43038204 .

scooserver commented 10 years ago

hi,i tried everything but still not working, the best what i maded : i was able to connect as anonymous ,but if i disabled the anonymous login on openfire's webif the login not working anymore...(i creaded user from webif) any idea? form linux box command line no error for "curl http://localhost:7070/http-bind" I hope you can help me setup this very helpfull plugin Thankyou

On Wed, May 14, 2014 at 6:50 AM, Scoo scooserver@gmail.com wrote:

For my email users are stored in MySQLtables , I will try to set-up openfire with MySQL I think also is possible..

On Wednesday, May 14, 2014, Priyadi Iman Nurcahyo < notifications@github.com> wrote:

Before doing anything with this plugin, you need to make sure your XMPP server is working, and then set it up to use the same credentials as your IMAP server. Typically, you will need both to use LDAP authentication.

I cannot help if you haven't done that. If you have problem, consult Openfire documentation or ask for help in their mailing list.

— Reply to this email directly or view it on GitHubhttps://github.com/priyadi/roundcube-converse.js-xmpp-plugin/issues/27#issuecomment-43038204 .

priyadi commented 10 years ago

I missed this, sorry. Please follow the troubleshooting instruction in TROUBLESHOOTING.md and post your result here.

muthuv1 commented 9 years ago

Hey @scooserver if you are still trying and facing the problem some hints for you

  1. Check if your xmpp server (openfire) is working properly with xmpp clients like spark or pidgin.
  2. Then in converse config.inc.php do next 3 steps
  3. In $rcmail_config['converse_xmpp_bosh_prebind_url'] use "http://openfire-ip:7070/http-bind/". Note here in url i have added a trailing slash.
  4. In $rcmail_config['converse_xmpp_bosh_url'] use "/http-bind/"
  5. In $rcmail_config['converse_xmpp_hostname'] use your openfire domain name, something after "@" of user id, example: use "openfire.com" for user@openfire.com
  6. 4th step will be meaning-full only if you setup a proxy in your roundcube server. I use apache webserver and configured apache.conf like this. append it to end. ProxyPass /http-bind http://openfire-ip:7070/http-bind/ ProxyPassReverse /http-bind http://openfire-ip:7070/http-bind/ ProxyPass /http-bind https://openfire-ip:7443/http-bind/ ProxyPassReverse /http-bind https://openfire-ip:7443/http-bind/
  7. Every other configuration in converse is default in my case.
  8. Finally and most important is your roundcube login username and password should match openfire's username and password to autologin.

Here i assumed that you use openfire internal Bosh server, which runs on port 7070. Thanks.