ejabberd - Comments for "cool server!" https://www.ejabberd.im/node/96 en Could you elaborate? https://www.ejabberd.im/node/96#comment-10394 <div class="quote-msg"> <div class="quote-author"><em>Anonymous</em> wrote:</div> <p>when i tried to install PyMSNt gateway , it doesnt works .</p></div> <p>Could you elaborate? What doesn't work? What error message do you get?</p> Mon, 04 Jun 2007 14:58:51 +0000 legoscia comment 10394 at https://www.ejabberd.im Problem in installing PyMSNt in Ejabberd server https://www.ejabberd.im/node/96#comment-10218 <p>Hello there,<br /> I've tried to run Ejabberd on my local machine, and it runs successfuly, but when i tried to install PyMSNt gateway , it doesnt works . plz help me . below i have attched ejabberd config.cfg file for your review and comments </p> <p>% $Id: $</p> <p>%override_acls.</p> <p>% Users that have admin access. Add line like one of the following after you<br /> % will be successfully registered on server to get admin access:<br /> {acl, admin, {user, "admin"}}.</p> <p>% Blocked users:<br /> %{acl, blocked, {user, "test"}}.</p> <p>% Local users:<br /> {acl, local, {user_regexp, ""}}.</p> <p>% Another examples of ACLs:<br /> %{acl, jabberorg, {server, "jabber.org"}}.<br /> %{acl, aleksey, {user, "aleksey", "jabber.ru"}}.<br /> %{acl, test, {user_regexp, "^test"}}.<br /> %{acl, test, {user_glob, "test*"}}.</p> <p>% Everybody can create pubsub nodes<br /> {access, pubsub_createnode, [{allow, all}]}.</p> <p>% Only admins can use configuration interface:<br /> {access, configure, [{allow, admin}]}.</p> <p>% Every username can be registered via in-band registration:<br /> % You could replace {allow, all} with {deny, all} to prevent user from using<br /> % in-band registration<br /> {access, register, [{allow, all}]}.</p> <p>% After successful registration user will get message with following subject<br /> % and body:<br /> %{welcome_message,<br /> % {"Welcome!",<br /> % "Welcome to Instant Messaging server localhost. "<br /> % "For information about ejabberd visit http://www.process-one.net/"}}.<br /> % Replace them with 'none' if you don't want to send such message:<br /> {welcome_message, none}.</p> <p>% List of people who will get notifications about registered users<br /> %{registration_watchers, ["admin1@localhost",<br /> % "admin2@localhost"]}.</p> <p>% Only admins can send announcement messages:<br /> {access, announce, [{allow, admin}]}.</p> <p>% Only non-blocked users can use c2s connections:<br /> {access, c2s, [{deny, blocked},<br /> {allow, all}]}.</p> <p>% Set shaper with name "normal" to limit traffic speed to 1000B/s<br /> {shaper, normal, {maxrate, 1000}}.</p> <p>% Set shaper with name "fast" to limit traffic speed to 50000B/s<br /> {shaper, fast, {maxrate, 50000}}.</p> <p>% For all users except admins used "normal" shaper<br /> {access, c2s_shaper, [{none, admin},<br /> {normal, all}]}.</p> <p>% For all S2S connections used "fast" shaper<br /> {access, s2s_shaper, [{fast, all}]}.</p> <p>% Admins of this server are also admins of MUC service:<br /> {access, muc_admin, [{allow, admin}]}.</p> <p>% All users are allowed to use MUC service:<br /> {access, muc, [{allow, all}]}.</p> <p>% This rule allows access only for local users:<br /> {access, local, [{allow, local}]}.</p> <p>% Authentication method. If you want to use internal user base, then use<br /> % this line:<br /> {auth_method, internal}.</p> <p>% For LDAP authentication use these lines instead of above one:<br /> %{auth_method, ldap}.<br /> %{ldap_servers, ["localhost"]}. % List of LDAP servers<br /> %{ldap_uidattr, "uid"}. % LDAP attribute that holds user ID<br /> %{ldap_base, "dc=example,dc=com"}. % Search base of LDAP directory<br /> %{ldap_rootdn, "dc=example,dc=com"}. % LDAP manager<br /> %{ldap_password, "******"}. % Password to LDAP manager</p> <p>% For authentication via external script use the following:<br /> %{auth_method, external}.<br /> %{extauth_program, "/path/to/authentication/script"}.</p> <p>% For authentication via ODBC use the following:<br /> %{auth_method, odbc}.<br /> %{odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"}.</p> <p>% Host name:<br /> {hosts, ["localhost"]}.</p> <p>%% Define the maximum number of time a single user is allowed to connect:<br /> {max_user_sessions, 10}.</p> <p>%% Anonymous login support:<br /> %% auth_method: anonymous<br /> %% anonymous_protocol: sasl_anon|login_anon|both<br /> %% allow_multiple_connections: true|false<br /> %%{host_config, "public.example.org", [{auth_method, anonymous},<br /> %% {allow_multiple_connections, false},<br /> %% {anonymous_protocol, sasl_anon}]}.<br /> %% To use both anonymous and internal authentication:<br /> %%{host_config, "public.example.org", [{auth_method, [anonymous, internal]}]}.</p> <p>% Default language for server messages<br /> % TODO: Use installer selection<br /> {language, "en"}.</p> <p>% Listened ports:<br /> {listen, [<br /> %%{5222, ejabberd_c2s, [{access, c2s}, {max_stanza_size, 65536}, {shaper, c2s_shaper}]},<br /> %% Use this line to enable SSL:<br /> {5223, ejabberd_c2s, [{access, c2s}, {max_stanza_size, 65536}, tls, {certfile, "C:\Program Files\ejabberd-1.1.3/conf/server.pem"}]},<br /> %%<br /> %% Use those lines instead for TLS support:<br /> {5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper}, starttls, {certfile, "C:\Program Files\ejabberd-1.1.3/conf/server.pem"}]},<br /> %%{5223, ejabberd_c2s, [{access, c2s}, tls, {certfile, "C:\Program Files\ejabberd-1.1.3/conf/server.pem"}]},</p> <p> %% Remove this line if you want to prevent s2s connections:<br /> {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}, {max_stanza_size, 131072}]},<br /> {5347,ejabberd_service,[{host, "msn.localhost",<br /> [{password, "secret"}]}]},<br /> %% remove http_poll to remove support for http polling<br /> %% remove web_admin to disable admin interface:<br /> {5280, ejabberd_http, [http_poll, web_admin]}<br /> %% This is an example on how to define an external service/transport:<br /> %%{8888, ejabberd_service, [{access, all},<br /> %% {hosts, ["icq.localhost", "sms.localhost"],<br /> %% [{password, "secret"}]}]}<br /> ]}.</p> <p>% If SRV lookup fails, then port 5269 is used to communicate with remote server<br /> {outgoing_s2s_port, 5269}.</p> <p>% Used modules:<br /> {modules,<br /> [<br /> {mod_register, [{access, register}]},<br /> {mod_roster, []},<br /> {mod_privacy, []},<br /> {mod_adhoc, []},<br /> {mod_configure, []}, % Depends on mod_adhoc<br /> {mod_configure2, []},<br /> {mod_disco, []},<br /> {mod_stats, []},<br /> {mod_vcard, []},<br /> {mod_offline, []},<br /> {mod_announce, [{access, announce}]}, % Depends on mod_adhoc<br /> {mod_echo, [{host, "echo.localhost"}]},<br /> {mod_private, []},<br /> {mod_irc, []},<br /> % Default options for mod_muc:<br /> % host: "conference." ++ ?MYNAME<br /> % access: all<br /> % access_create: all<br /> % access_admin: none (only room creator has owner privileges)<br /> {mod_muc, [{access, muc}, {access_create, muc}, {access_admin, muc_admin}]},<br /> % {mod_muc_log, []},<br /> % {mod_shared_roster, []},<br /> {mod_pubsub, [{access_createnode, pubsub_createnode}]},<br /> {mod_time, []},<br /> {mod_last, []},<br /> % {mod_xmlrpc,[{port, 4560},{timeout, 5000}]},<br /> {mod_version, []}<br /> ]}.</p> <p>% Local Variables:<br /> % mode: erlang<br /> % End:</p> Mon, 04 Jun 2007 12:23:55 +0000 Anonymous comment 10218 at https://www.ejabberd.im It's a problem in your ejabbe https://www.ejabberd.im/node/96#comment-175 <p>It's a problem in your ejabberd.cfg file: <ul> <li>Check that every [ has a ] </li><li>check that every { has a } </li><li>and <a href="/node/56#comment-99">don't put commas (,) at the end of lists</a> </li></ul> The error is on line 34 or before. </p> <p>If you can't find the error, copy here all the 'listen' section of your file.</p> Wed, 09 Feb 2005 22:00:16 +0000 mfoss comment 175 at https://www.ejabberd.im this line its ok, my problem https://www.ejabberd.im/node/96#comment-174 <p>this line its ok, my problem is line 34 but i see and seems to have everything ok :(</p> Wed, 09 Feb 2005 21:58:43 +0000 kad comment 174 at https://www.ejabberd.im As you can see on this book p https://www.ejabberd.im/node/96#comment-173 <p>As you can see on <noindex><a href="/node/16" rel="nofollow" >this book page</a></noindex> this is a common error message. Read that page to see how you can fix it.</p> <p>--<br /> sander</p> Wed, 09 Feb 2005 21:34:17 +0000 sander comment 173 at https://www.ejabberd.im u mean the msn that is not CV https://www.ejabberd.im/node/96#comment-171 <p>u mean the msn that is not CVS? i tried to make it work reading the installation explatation but i cant, look: i did this <pre>"msn.sharez.sytes.net", [{password, "password"}]}]},</pre> in my ejabberd config. of course i change the msn xml configuration to suit my ejabberd config. </p> <p>but i cant get it work. look: <pre>=ERROR REPORT==== 9-Feb-2005::12:59:02 === E(&lt;0.38.0>:ejabberd_config:58): Can't load config file "ejabberd.cfg": {34, erl_parse, ["syntax error before: ", ["']'"]]} =INFO REPORT==== 9-Feb-2005::12:59:02 === application: ejabberd exited: "invalid return value from ejabberd_app:start(normal,[]) -> {'EXIT', [\"syntax error before: \",[\"']'\"]]}" type: temporary</pre> </p> Wed, 09 Feb 2005 21:00:52 +0000 kad comment 171 at https://www.ejabberd.im For the version on the URL I https://www.ejabberd.im/node/96#comment-169 <p>For the version on the URL I gave, you don't need that patch anymore. :)</p> <p>--<br /> sander</p> Wed, 09 Feb 2005 20:42:00 +0000 sander comment 169 at https://www.ejabberd.im thanks, i forgot to say, wher https://www.ejabberd.im/node/96#comment-168 <p>thanks, i forgot to say, wherwe to download the twisted patch. cuz i cant find it.<br /> thanks a lot</p> Wed, 09 Feb 2005 20:39:03 +0000 kad comment 168 at https://www.ejabberd.im Well, but he better tries the https://www.ejabberd.im/node/96#comment-167 <p>Well, but he better tries the on on James own site (author of that transport): to prevent installing "bad code".</p> <p>--<br /> sander</p> Wed, 09 Feb 2005 20:38:34 +0000 sander comment 167 at https://www.ejabberd.im http://delx.cjb.net/PyMSNt/ ( https://www.ejabberd.im/node/96#comment-166 <p><noindex><a href="http://delx.cjb.net/PyMSNt/" title="http://delx.cjb.net/PyMSNt/" rel="nofollow" >http://delx.cjb.net/PyMSNt/</a></noindex> (don't forget their is a tutorial for pyMSNt in the Book on this website ;) )</p> <p>--<br /> sander</p> Wed, 09 Feb 2005 20:35:38 +0000 sander comment 166 at https://www.ejabberd.im I think this file contains P https://www.ejabberd.im/node/96#comment-165 <p>I think <noindex><a href="http://jabberstudio.org/projects/msn-transport/msn-transport-cvs.tar.gz" rel="nofollow" >this file</a></noindex> contains PyMSNt.</p> Wed, 09 Feb 2005 20:05:11 +0000 mfoss comment 165 at https://www.ejabberd.im