[ejabberd] Re: Questions on MUC and transports

Leif Johansson leifj at it.su.se
Sat Oct 23 14:35:03 MSD 2004


Christopher R, Parr wrote:
> So I've downloaded and compiled jit. This compilation has created a
> jit.so file. What next? Do I need to run a jabberd 1.4 server as wel
> to get jit working?
> 
> Please give me step-by-step instructions to get jit (and maybe MSN) to
> work with ejabberd.
> 
> Please help.
> 
> Thanks in advance...
> 
> Christopher
> 
> PS: I've read the manual but I don't get enough information. :-(
> 

I have included my configuration files de-sanitized. Replace secret1,
... with real passwords both in ejabberd.cfg and in the transport xml
files. Also update the cfg files with the paths to where you have
installed your various software. Start the gateway servers with

jabber -H /path/to/jabber/lib -c /path/to/aimt.xml

etc etc. One server per transport. When ejabberd is up they will
(re)connect.

	MVH leifj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aimt.xml
Type: text/xml
Size: 1176 bytes
Desc: not available
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20041023/8964feb4/aimt.xml
-------------- next part --------------
% localhost

override_acls.

{acl, admin, {user, "admin", "example.org"}}.


{access, announce,    [{allow,  admin},
                       {deny,   all}]}.
{access, c2s,         [{deny,   blocked},
                       {allow,  all}]}.
{access, c2s_shaper,  [{none,   admin},
                       {normal, all}]}.
{access, configure,   [{allow,  admin},
                       {deny,   all}]}.
{access, disco_admin, [{allow,  admin},
                       {deny,   all}]}.
{access, muc_admin,   [{allow,  admin},
                       {deny,   all}]}.
{access, register,    [{allow,   all}]}.
{access, s2s_shaper,  [{fast,   all}]}.


{auth_method,           external}.
{extauth_program,      "/var/jabber/scripts/check_pass_null.pl"}.
{user_method,           internal}.
{host,                 "example.org"}.
{outgoing_s2s_port,     5269}.
{shaper, normal,       {maxrate, 1000}}.
{shaper, fast,         {maxrate, 50000}}.
{welcome_message,       ""}.
{ldap_servers,         ["ldap.example.org"]}.
{ldap_uidattr,         "uid"}.
{ldap_base,            ""}.


{listen, [{5222, ejabberd_c2s,
                      [{access,   c2s},
                       {shaper,   c2s_shaper}]},
          {5223, ejabberd_c2s,
                      [{access,   c2s},
                       {shaper,   c2s_shaper},
                       {ssl,    [
                                 {keyfile, "/etc/ssl/server.key"},
                                 {certfile, "/etc/ssl/server.chain"},
                                 {ciphers, "ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH"}
                                ]
                       }
                      ]
          },
	  {5235, ejabberd_service, [{host, "msn.example.org",
				     [{password, "secret1"}]}]},
          {5236, ejabberd_service, [{host, "yahoo.example.org",
                                     [{password, "secret2"}]}]},
          {5233, ejabberd_service, [{host, "aim.example.org",
                                     [{password, "secret3"}]}]},
          {5269, ejabberd_s2s_in,
                      [{shaper,   s2s_shaper}]}]}.


{modules, [
           {mod_register,  []},
           {mod_roster,    []},
           {mod_privacy,   []},
           {mod_configure, []},
           {mod_disco,     []},
           {mod_stats,     []},
           {mod_vcard_ldap,     []},
           {mod_offline,   []},
           {mod_echo,      []},
           {mod_private,   []},
           {mod_irc,       []},
           {mod_muc,       []},
           {mod_pubsub,    []},
           {mod_time,      []},
           {mod_last,      []},
           {mod_version,   []}
          ]}.



% Local Variables:
% mode: erlang
% End:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msnt.xml
Type: text/xml
Size: 1984 bytes
Desc: not available
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20041023/8964feb4/msnt.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yahoot.xml
Type: text/xml
Size: 1284 bytes
Desc: not available
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20041023/8964feb4/yahoot.xml


More information about the ejabberd mailing list