--- jabber.xml.orig	2001-05-15 17:21:56.000000000 +0200
+++ jabber.xml	2003-01-20 19:13:07.000000000 +0100
@@ -251,6 +251,24 @@
 
         end of <service/> examples -->
 
+	<!--
+	You should uncomment the below if you want to activate Gadu-Gadu
+	Transport. Also replace localhost with fully qualified domain name
+	of your server. Note that this must be 'gg.YOUR_FQDN', that means
+	there should be an alias gg.YOUR_FQDN configured to point to IP
+	address of the server.
+	-->
+
+	<!--
+	<item category="service" type="x-gadugadu" jid="gg.localhost" name="GaduGadu Transport">
+	  <ns>jabber:iq:gateway</ns>
+	  <ns>jabber:iq:register</ns>
+	  <ns>jabber:iq:search</ns>
+	  <ns>jabber:iq:agent</ns>
+	  <ns>jabber:iq:browse</ns>
+	</item>
+	-->
+
       </browse>
 
     </jsm>
@@ -264,26 +282,26 @@
     -->
 
     <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>
+      <jsm>/usr/lib/jabber/jsm.so</jsm>
+      <mod_echo>/usr/lib/jabber/jsm.so</mod_echo>
+      <mod_roster>/usr/lib/jabber/jsm.so</mod_roster>
+      <mod_time>/usr/lib/jabber/jsm.so</mod_time>
+      <mod_vcard>/usr/lib/jabber/jsm.so</mod_vcard>
+      <mod_last>/usr/lib/jabber/jsm.so</mod_last>
+      <mod_version>/usr/lib/jabber/jsm.so</mod_version>
+      <mod_announce>/usr/lib/jabber/jsm.so</mod_announce>
+      <mod_agents>/usr/lib/jabber/jsm.so</mod_agents>
+      <mod_browse>/usr/lib/jabber/jsm.so</mod_browse>
+      <mod_admin>/usr/lib/jabber/jsm.so</mod_admin>
+      <mod_filter>/usr/lib/jabber/jsm.so</mod_filter>
+      <mod_offline>/usr/lib/jabber/jsm.so</mod_offline>
+      <mod_presence>/usr/lib/jabber/jsm.so</mod_presence>
+      <mod_auth_plain>/usr/lib/jabber/jsm.so</mod_auth_plain>
+      <mod_auth_digest>/usr/lib/jabber/jsm.so</mod_auth_digest>
+      <mod_auth_0k>/usr/lib/jabber/jsm.so</mod_auth_0k>
+      <mod_log>/usr/lib/jabber/jsm.so</mod_log>
+      <mod_register>/usr/lib/jabber/jsm.so</mod_register>
+      <mod_xml>/usr/lib/jabber/jsm.so</mod_xml>
     </load>
 
   </service>
@@ -295,10 +313,10 @@
   <xdb id="xdb">
     <host/>
     <load>
-      <xdb_file>./xdb_file/xdb_file.so</xdb_file>
+      <xdb_file>/usr/lib/jabber/xdb_file.so</xdb_file>
     </load>
     <xdb_file xmlns="jabber:config:xdb_file">
-      <spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
+      <spool><jabberd:cmdline flag='s'>/var/spool/jabber/jabberd</jabberd:cmdline></spool>
     </xdb_file>
   </xdb>
 
@@ -319,7 +337,7 @@
 
   <service id="c2s">
     <load>
-      <pthsock_client>./pthsock/pthsock_client.so</pthsock_client>
+      <pthsock_client>/usr/lib/jabber/pthsock_client.so</pthsock_client>
     </load>
     <pthcsock xmlns='jabber:config:pth-csock'>
       <authtime/>
@@ -343,8 +361,7 @@
       except it defines that SSL is to be used on the 
       ports and IP addresses specified. You must specify
       an IP address here, or the connections will fail.
-      <ssl port='5223'>127.0.0.1</ssl>
-      <ssl port='5224'>192.168.1.100</ssl>
+      <ssl port='5223'>your-ip-address</ssl>
       -->
 
     </pthcsock>
@@ -359,7 +376,7 @@
     <host/>
     <logtype/>
     <format>%d: [%t] (%h): %s</format>
-    <file>error.log</file>
+    <file>/var/log/jabber/jabberd-error</file>
     <stderr/>
   </log>
 
@@ -372,7 +389,7 @@
     <host/>
     <logtype>record</logtype>
     <format>%d %h %s</format>
-    <file>record.log</file>
+    <file>/var/log/jabber/jabberd-record</file>
   </log>
 
   <!-- The following two services are for handling server-to-server traffic. -->
@@ -382,7 +399,7 @@
   <service id="dnsrv">
     <host/>
     <load>
-      <dnsrv>./dnsrv/dnsrv.so</dnsrv>
+      <dnsrv>/usr/lib/jabber/dnsrv.so</dnsrv>
     </load>
     <dnsrv xmlns="jabber:config:dnsrv">
     	<resend service="_jabber._tcp">s2s</resend> <!-- for supporting SRV records -->
@@ -401,7 +418,7 @@
 
   <service id="s2s">
     <load>
-      <dialback>./dialback/dialback.so</dialback>
+      <dialback>/usr/lib/jabber/dialback.so</dialback>
     </load>
     <dialback xmlns='jabber:config:dialback'>
       <legacy/>
@@ -439,7 +456,7 @@
 
   <service id="conference">
     <load>
-      <groupchat>/path/to/groupchat.so</groupchat>
+      <groupchat>/usr/lib/jabber/groupchat.so</groupchat>
     </load>
     <host>conference.localhost</host>
   </service>
@@ -466,6 +483,22 @@
 
   end of <service/> examples -->
 
+    <!--
+    Replace localhost with fully qualified domain name (see a note above).
+    Replace your-ip-address with a IP address of the server.
+    -->
+
+    <!--
+    <service id="gglinker">
+	<host>gg.localhost</host>
+	<accept>
+	    <ip>your-ip-address</ip>
+	    <port>5353</port>
+	    <secret>secret</secret>
+	</accept>
+    </service>
+    -->
+
   <!--
   The following <io/> config initializes the top-level
   I/O, otherwise known as MIO (Managed Input/Output).
@@ -569,8 +602,7 @@
     -->
     <!--
     <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>
+      <key ip='your-ip-address'>/etc/jabber/key.pem</key>
     </ssl>
     -->
 
@@ -596,7 +628,7 @@
   <!--
   This specifies the file to store the pid of the process in.
   -->
-  <pidfile>./jabber.pid</pidfile>
+  <pidfile>/var/run/jabber/jabberd.pid</pidfile>
 
 
 </jabber>
