ejabberd - Comments for "PyICQt.py прячется." https://www.ejabberd.im/node/806 en Запускать ejabberd, потом PyICQ https://www.ejabberd.im/node/806#comment-1725 <p>В начале запускаешь ejabberd, потом PyICQ, если все хорошо, то он у тебя должен появится(если пси пользуешься) в обнаружении сервисов. А дальше все как обычно: правой кнопкой по нему-&gt; Регистрация-&gt;UID и пароль-&gt; OK</p> Fri, 12 May 2006 07:20:03 +0000 sjvov comment 1725 at https://www.ejabberd.im У меня не https://www.ejabberd.im/node/806#comment-1704 <p>У меня не сильно подключается... может кто объяснит почему. Перепробывал все, на что фантазии хватало... Вот мои конфы<br /> для ежа:</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <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, "tree", "server.office.local"}}.</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>% 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 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@server",<br /> % "admin2@server"]}.</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>% Authentification method. If you want to use internal user base, then use<br /> % this line:<br /> {auth_method, internal}.</p> <p>% For LDAP authentification use these lines instead of above one:<br /> %{auth_method, ldap}.<br /> %{ldap_servers, ["server"]}. % 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 authentification via external script use the following:<br /> %{auth_method, external}.<br /> %{extauth_program, "/path/to/authentification/script"}.</p> <p>% For authentification via ODBC use the following:<br /> %{auth_method, odbc}.<br /> %{odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"}.</p> <p>% Host name:<br /> {hosts, ["server.office.local","251-35.net.g.com.ua"]}.</p> <p>% Default language for server messages<br /> % TODO: Use installer selection<br /> {language, "ru"}.</p> <p>% Listened ports:<br /> {listen, [<br /> {5222, ejabberd_c2s, [{access, c2s},<br /> {shaper, c2s_shaper}]},<br /> %% Use this line to enable SSL:<br /> %%{5223, ejabberd_c2s, [{access, c2s}, ssl, {certfile, "/opt/ejabberd-1.1.0/conf/server.pem"}]},<br /> %%<br /> %% Use those lines instead for TLS support:<br /> %%{5222, ejabberd_c2s, [{access, c2s}, {shaper, c2s_shaper},<br /> %% starttls, {certfile, "/opt/ejabberd-1.1.0/conf/server.pem"}]},<br /> %% {5223, ejabberd_c2s, [{access, c2s},<br /> %% tls, {certfile, "/opt/ejabberd-1.1.0/conf/server.pem"}]},<br /> %% Remove this line if you want to prevent s2s connections:<br /> {5269, ejabberd_s2s_in, [{shaper, s2s_shaper}]},</p> <p> %% 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 /> {5191, ejabberd_service, [{access, all}, {host, ["server.office.local", "251-35.net.g.com.ua"], [{password,"pass"}]}]}<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, [{access,all}]},<br /> {mod_privacy, [{access,all}]},<br /> {mod_configure, [{access,all}]},<br /> {mod_configure2, [{access,all}]},<br /> {mod_disco, [{access,all}]},<br /> {mod_stats, [{access,all}]},<br /> {mod_vcard, [{access,all}]},<br /> {mod_offline, [{access,all}]},<br /> {mod_announce, [{access, announce}]},<br /> {mod_echo, [{host, "echo.server"}]},<br /> {mod_private, [{access,all}]},<br /> {mod_irc, [{access,all}]},<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},<br /> {access_create, muc},<br /> {access_admin, muc_admin}]},<br /> {mod_pubsub, [{access,all}]},<br /> {mod_time, [{access,all}]},<br /> {mod_last, [{access,all}]},<br /> %%{mod_xmlrpc,[{port, 4560},{timeout, 5000}]},<br /> {mod_shared_roster, [{access, no_queue}]},<br /> {mod_version, [{access,all}]}<br /> ]}.</p> <p>% Local Variables:<br /> % mode: erlang<br /> % End:</p> </div> <p>и PyICQt</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p> jid&gt;icq.251-35.net.g.com.ua<br /> spooldir&gt;.<br /> pid&gt;PyICQt.pid<br /> mainServer&gt;193.111.251.35<br /> mainServerJID&gt;251-35.net.g.com.ua<br /> port&gt;5222<br /> secret&gt;pass<br /> lang&gt;ru<br /> icqServer&gt;login.icq.com<br /> icqPort&gt;5191<br /> disableDefaultAvatar/&gt; </p></div> <p>В последнем конфиге, открытие тагов пропущено... На самом деле оно есть.</p> Wed, 10 May 2006 14:07:34 +0000 MDresvyankin comment 1704 at https://www.ejabberd.im на сервере https://www.ejabberd.im/node/806#comment-1690 <p>На сервере должен появиться новый транспорт icq.имя_сервера<br /> И еще, PyICQt должен быть запущен до старта самого сервера, чтоб сервер смог подключиться к нему при старте</p> Sun, 07 May 2006 19:15:38 +0000 alexkid@jabber.ru comment 1690 at https://www.ejabberd.im