Ejabberd Gateway

2008-2-28

 

 Install Components and Transports for Other Protocols

(you can search these software from GOOGLE)

 download Python-2.5.1.tgz
 download zope.interface-3.3.0.tar.gz
 download Twisted-2.5.0.tar.bz2ICQ
 download pyicq-t-0.8a.tar.gzAIM
 download pyaim-t-0.8a.tar.gzMSN
 download pycrypto-2.0.1.tar.gz
 download pyOpenSSL-0.6.tar.gz
 download pymsnt 0.11.2.orig.tar.gzYAHOO
 download pydns-2.3.0.tar (option)
 download xmpppy.tarInstallation

http://ejabberd.jabber.ru/tutorials-transports

 it's very importment to modify the file main.py.
 ----------------------------------------------------
    import signal
    signal.signal(signal.SIGHUP, reloadConfig)
    # Load scripts for PID and daemonizing
 -  from twisted.scripts import twistd
 +  try:
 +      from twisted.scripts import _twistd_unix as twistd
 +  except:
 +      from twisted.scripts import twistd
 ----------------------------------------------------

 

1. you need to modify every config.xml file. for example:

    change
    icq.example.org
    to
    icq.your_domain_name(such as icq.wei-jun.com)

 

2. edit ejabberd.cfg

          {5347, ejabberd_service, [{host, "icq.wei-jun.com",[{password, "secret"}]}]},
          {5348, ejabberd_service, [{host, "aim.wei-jun.com",[{password, "secret"}]}]},
          {5349, ejabberd_service, [{host, "msn.wei-jun.com",[{password, "secret"}]}]},
          {5350, ejabberd_service, [{host, "yahoo.wei-jun.com",[{password, "secret"}]}]}

 

3. first start ejabberd then start gateway.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值