>Друзья ...скиньте ктонибудь реально работающий jabber.cfg
>очень прошу ....
Вот. Работает поиск и конференции можно делать, не работает только Jabber brouser. Кажися и не будет работать :((
<jabber>
<service id="sessions">
<host><jabberd:cmdline flag="h">hostname</jabberd:cmdline></host>
<jsm xmlns="jabber:config:jsm">
<filter>
<default/>
<max_size>100</max_size>
<allow>
<conditions>
<ns/> <!-- Matches if the iq's xmlns is the same as the specified namespace -->
<unavailable/> <!-- Flag that matches when the reciever is unavailable (offline) -->
<from/> <!-- Matches if the sender's jid is the specified jid -->
<resource/> <!-- Matches if the sender's resource (anything after the / in a jid) is the specified resource -->
<subject/> <!-- Matches if the message's subject is the specified subject (no regex yet) -->
<body/> <!-- Matches if the message body is the specified body (no regex yet) -->
<show/> <!-- Matches if the receiver's presence has a show tag that is the same as the specified text -->
<type/> <!-- Matches if the type of the message is the same as the specified text ("normal" is okay) -->
<roster/> <!-- Flag that matches when the sender is in the receiver's roster -->
<group/> <!-- Matches when the sender is in the specified group -->
</conditions>
<actions>
<error/> <!-- Sends back an error message to the sender, with the specified text -->
<offline/> <!-- Flag that stores the message offline -->
<forward/> <!-- forwards the message to the specified jid -->
<reply/> <!-- Sends back a reply to the sender with the specified text in the body -->
<continue/> <!-- Flag that continues rule matching, after a rule matches -->
<settype/> <!-- Changes the type of message to the specified type, before delivery to the receiver -->
</actions>
</allow>
</filter>
<!-- The server vCard -->
<vCard>
<FN>Jabber Server</FN>
<DESC>A Jabber Server!</DESC>
<URL>http://hostname/</URL>
</vCard>
<register notify="yes">
<instructions>Choose a username and password to register with this server.</instructions>
<name/>
<email/>
</register>
<welcome>
<subject>Welcome!</subject>
<body>Welcome to the Jabber server at hostname -- we hope you enjoy this service! For information about how to use Jabber, visit the Jabber User's Guide at http://docs.jabber.org/</body>
</welcome>
<message to="yourhostname/announce/online">
<body>announcement here</body>
</message>
<message to="yourhostname/announce/motd">
<body>message (of the day) that is sent only once to all users that are logged in and additionally to new ones as they log in</body>
</message>
<admin>
<read>support@localhost</read>
<write>support@localhost</write>
<reply>
<subject>Auto Reply</subject>
<body>This is a special administrative address. Your message was received and forwarded to server administrators.</body>
</reply>
</admin>
<update><jabberd:cmdline flag="h">hostname</jabberd:cmdline></update>
<vcard2jud/>
<browse>
<service type="jud" jid="jud.hostname" name="Jabber User Directory">
<ns>jabber:iq:search</ns>
<ns>jabber:iq:register</ns>
</service>
<conference type="private" jid="conference.localhost" name="Private Conferencing"/>
<service type="aim" jid="aim.localhost" name="AIM Transport">
<ns>jabber:iq:gateway</ns>
<ns>jabber:iq:register</ns>
</service>
<service type="yahoo" jid="yahoo.localhost" name="Yahoo! Transport">
<ns>jabber:iq:gateway</ns>
<ns>jabber:iq:register</ns>
</service>
end of <service/> examples -->
</browse>
</jsm>
<load main="jsm">
<jsm>./jsm/jsm.so</jsm>
<mod_echo>./jsm/jsm.so</mod_echo>
<mod_roster>./jsm/jsm.so</mod_roster>
<mod_time>./jsm/jsm.so</mod_time>
<mod_vcard>./jsm/jsm.so</mod_vcard>
<mod_last>./jsm/jsm.so</mod_last>
<mod_version>./jsm/jsm.so</mod_version>
<mod_announce>./jsm/jsm.so</mod_announce>
<mod_agents>./jsm/jsm.so</mod_agents>
<mod_browse>./jsm/jsm.so</mod_browse>
<mod_admin>./jsm/jsm.so</mod_admin>
<mod_filter>./jsm/jsm.so</mod_filter>
<mod_offline>./jsm/jsm.so</mod_offline>
<mod_presence>./jsm/jsm.so</mod_presence>
<mod_auth_plain>./jsm/jsm.so</mod_auth_plain>
<mod_auth_digest>./jsm/jsm.so</mod_auth_digest>
<mod_auth_0k>./jsm/jsm.so</mod_auth_0k>
<mod_log>./jsm/jsm.so</mod_log>
<mod_register>./jsm/jsm.so</mod_register>
<mod_xml>./jsm/jsm.so</mod_xml>
</load>
</service>
<xdb id="xdb">
<host/>
<load>
<xdb_file>./xdb_file/xdb_file.so</xdb_file>
</load>
<xdb_file xmlns="jabber:config:xdb_file">
<spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
</xdb_file>
</xdb>
<service id="jud">
<host>jud.hostname</host>
<load><jud>./jud-0.4/jud.so</jud></load>
<jud xmlns="jabber:config:jud">
<vCard>
<FN>User Directory on volodya.hq.cbank.kz</FN>
<DESC>This service provides a simple user directory service.</DESC>
<URL>http://hostname/</URL>
</vCard>
</jud>
</service>
<service id="conference.hostname">
<load>
<conference>./mu-conference-0.5.2/src/mu-conference.so</conference>
</load>
<conference xmlns="jabber:config:conference">
<public/>
<vCard>
<FN>Public Chatrooms</FN>
<DESC>This service is for public chatrooms.</DESC>
<URL>http://hostname/</URL>
</vCard>
<history>20</history>
<logdir>./logs/</logdir>
<sadmin>
<user>vova@hostname</user>
</sadmin>
<notice>
<join>has become available</join>
<leave>has left</leave>
<rename>is now known as</rename>
</notice>
</conference>
</service>
<service id="c2s">
<load>
<pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
</load>
<pthcsock xmlns='jabber:config:pth-csock'>
<authtime/>
<karma>
<init>10</init>
<max>10</max>
<inc>1</inc>
<dec>1</dec>
<penalty>-6</penalty>
<restore>10</restore>
</karma>
<ip port="5222"/>
</pthcsock>
</service>
<log id='elogger'>
<host/>
<logtype/>
<format>%d: [%t] (%h): %s</format>
<file>error.log</file>
<stderr/>
</log>
<log id='rlogger'>
<host/>
<logtype>record</logtype>
<format>%d %h %s</format>
<file>record.log</file>
</log>
<service id="dnsrv">
<host/>
<load>
<dnsrv>./dnsrv/dnsrv.so</dnsrv>
</load>
<dnsrv xmlns="jabber:config:dnsrv">
<resend service="_jabber._tcp">s2s</resend> <!-- for supporting SRV records -->
<resend>s2s</resend>
</dnsrv>
</service>
<service id="s2s">
<load>
<dialback>./dialback/dialback.so</dialback>
</load>
<dialback xmlns='jabber:config:dialback'>
<legacy/>
<!-- Use these to listen on particular addresses and/or ports.
<ip port="7000"/>
<ip port="5269">127.0.0.1</ip>
-->
<ip port="5269"/>
<karma>
<init>50</init>
<max>50</max>
<inc>4</inc>
<dec>1</dec>
<penalty>-5</penalty>
<restore>50</restore>
</karma>
</dialback>
</service>
<service id="conference">
<load>
<groupchat>/path/to/groupchat.so</groupchat>
</load>
<host>conference.localhost</host>
</service>
<service id="irc">
<host>irc.localhost</host>
</service>
<service id="aim.localhost">
<accept>
<ip/>
<port>7009</port>
<secret>jabber-rocks</secret>
</accept>
</service>
<service id="yahoo.localhost">
<accept>
<ip/>
<port>9001</port>
<secret>jabber-rocks</secret>
</accept>
</service>
end of <service/> examples -->
<io>
<karma>
<heartbeat>2</heartbeat>
<init>64</init>
<max>64</max>
<inc>6</inc>
<dec>1</dec>
<penalty>-3</penalty>
<restore>64</restore>
</karma>
<rate points="5" time="25"/>
<!--
<ssl>
<key ip='192.168.1.1'>/path/to/cert_and_key.pem</key>
<key ip='192.168.1.100'>/path/to/other/cert_and_key.pem</key>
</ssl>
-->
</io>
<pidfile>./jabber.pid</pidfile>
</jabber>