mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
* examples/transport-configs/: Transport config examples (thanks
to Sander Devrieze) SVN Revision: 284
This commit is contained in:
parent
ed31fea454
commit
7d683b194f
@ -1,5 +1,8 @@
|
||||
2004-10-15 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* examples/transport-configs/: Transport config examples (thanks
|
||||
to Sander Devrieze)
|
||||
|
||||
* src/msgs/de.msg: German translation (thanks to Marina Hahn)
|
||||
|
||||
2004-10-12 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
76
examples/transport-configs/aim-t/master.xml
Normal file
76
examples/transport-configs/aim-t/master.xml
Normal file
@ -0,0 +1,76 @@
|
||||
<!-- aim-t master.xml van SERVERNAME door Sander Devrieze -->
|
||||
|
||||
<jabber>
|
||||
|
||||
<!--
|
||||
You need to add elogger and rlogger entries here when using ejabberd.
|
||||
In this case the transport will do the logging.
|
||||
-->
|
||||
|
||||
<log id='elogger'>
|
||||
<host/>
|
||||
<logtype/>
|
||||
<format>%d: [%t] (%h): %s</format>
|
||||
<file>ERROR_LOG_DIRECTORY/aim-t.log</file>
|
||||
</log>
|
||||
|
||||
<log id='rlogger'>
|
||||
<host/>
|
||||
<logtype>record</logtype>
|
||||
<format>%d %h %s</format>
|
||||
<file>RECORD_LOG_DIRECTORY/aim-t.log</file>
|
||||
</log>
|
||||
|
||||
<!--
|
||||
Some Jabber server implementations do not provide
|
||||
XDB services (for example jabberd 2.0 and ejabberd).
|
||||
xdb_file.so is loaded in to handle all XDB requests.
|
||||
-->
|
||||
|
||||
<xdb id="xdb">
|
||||
<host/>
|
||||
<load>
|
||||
<xdb_file>JABBER_LIBS_DIRECTORYxdb_file.so</xdb_file>
|
||||
</load>
|
||||
<xdb_file xmlns="jabber:config:xdb_file">
|
||||
<spool><jabberd:cmdline flag='s'>JABBERD14-SPOOL-DIRECTORY</jabberd:cmdline></spool>
|
||||
</xdb_file>
|
||||
</xdb>
|
||||
|
||||
<!--
|
||||
localhost is your jabber host.
|
||||
Replace "localhost" by the full host name of your server
|
||||
and have all host names here resolveable via DNS if you
|
||||
want the transport to be available to the public.
|
||||
-->
|
||||
|
||||
<service id='aim.SERVERNAME'>
|
||||
<!-- aim-t configuration -->
|
||||
<aim-t xmlns='jabber:config:aim-t'>
|
||||
<jabberd:include>./vCard.xml</jabberd:include>
|
||||
<charset>cp1252</charset>
|
||||
</aim-t>
|
||||
<!-- aim-t module -->
|
||||
<load>
|
||||
<aim_transport>JABBER_LIBS_DIRECTORYaim-t.so</aim_transport>
|
||||
</load>
|
||||
</service>
|
||||
|
||||
<!--
|
||||
The settings here have to match the setting you made
|
||||
in your main Jabber server's configuration file.
|
||||
Replace localhost with your main jabber server host name.
|
||||
-->
|
||||
|
||||
<service id="icq.SERVERNAME-linker">
|
||||
<uplink/>
|
||||
<connect>
|
||||
<ip>127.0.0.1</ip>
|
||||
<port>5233</port>
|
||||
<jabberd:include>./secret.xml</jabberd:include>
|
||||
</connect>
|
||||
</service>
|
||||
|
||||
<pidfile>PID_FILE_DIRECTORY/aim-t.pid</pidfile>
|
||||
|
||||
</jabber>
|
3
examples/transport-configs/aim-t/secret.xml
Normal file
3
examples/transport-configs/aim-t/secret.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<!-- aim-t secret.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<secret>ADD_SECTRET_HERE</secret>
|
8
examples/transport-configs/aim-t/vCard.xml
Normal file
8
examples/transport-configs/aim-t/vCard.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<!-- aim-t vCard.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<vCard>
|
||||
<FN>AIM/ICQ Transport</FN>
|
||||
<DESC>THis is the AIM/ICQ Transport.</DESC>
|
||||
<MAILADD_YOUR_EMAIL_ADDRESS_HERE/MAIL>
|
||||
<URL>http://aim-transport.jabberstudio.org/</URL>
|
||||
</vCard>
|
149
examples/transport-configs/gg-t/master.xml
Normal file
149
examples/transport-configs/gg-t/master.xml
Normal file
@ -0,0 +1,149 @@
|
||||
<jggtrans>
|
||||
|
||||
<service jid="gg.SERVERNAME"/>
|
||||
|
||||
<!-- This connects the GG-transport process to the master process -->
|
||||
<connect id="gglinker">
|
||||
<ip>127.0.0.1</ip>
|
||||
<port>5237</port>
|
||||
<secret>ADD_SECRET_HERE</secret>
|
||||
</connect>
|
||||
|
||||
<register>
|
||||
<!-- This tag contains the message displayed to users at registration time. -->
|
||||
<!-- You can use <p/> and/or <br/> to break lines. Multiple spaces and newlines
|
||||
are converted to just one, so formatting of config file doesn't really matter -->
|
||||
<instructions>
|
||||
Fill in your GG number (after "username")
|
||||
and password to register on the transport.
|
||||
<p/>To change your information in the GaduGadu directory you need to fill in the other fields.
|
||||
<p/>To remove registration you need to leave the form blank.
|
||||
</instructions>
|
||||
</register>
|
||||
|
||||
<search>
|
||||
<!-- This tag contains the message displayed to users at search time. -->
|
||||
<instructions>
|
||||
To search people:<br/>
|
||||
First fill in surname or family name, nickname, city, birthyear or range of birthyears (eg. 1950-1960)
|
||||
and gender (you may fill in more fields at once).<br/>
|
||||
or<br/>
|
||||
Fill in phone number<br/>
|
||||
or<br/>
|
||||
Fill in the GG number of the person you are searching.
|
||||
</instructions>
|
||||
</search>
|
||||
|
||||
<gateway>
|
||||
<!-- This is message, that may be displayed to user when adding gg contact. -->
|
||||
<desc>Please fill in the GaduGadu number of the person you want to add.</desc>
|
||||
<!-- And this is the prompt for GG number. -->
|
||||
<prompt>GG Nummer</prompt>
|
||||
</gateway>
|
||||
|
||||
<vCard>
|
||||
<FN>GaduGadu Transport</FN>
|
||||
<DESC>This is the GaduGadu Transport.</DESC>
|
||||
<EMAILADD_YOUR_EMAIL_ADDRESS_HERE/EMAIL>
|
||||
<URL>http://www.jabberstudio.org/projects/jabber-gg-transport/project/view.php</URL>
|
||||
</vCard>
|
||||
|
||||
<!-- Default user locale (language).
|
||||
Empty means system locale setting,
|
||||
no (or commented-out) <default_locale> tag means no translations. -->
|
||||
<!-- <default_locale>pl_PL</default_locale> -->
|
||||
|
||||
<!-- Logger configuration.
|
||||
You may configure one logger of type "syslog" and/or one of type "file".
|
||||
You may also not configure logging at all. -->
|
||||
<log type="syslog" facility="local0"/>
|
||||
<log type="file">LOGS_DIRECTORY/gg-t.log</log>
|
||||
|
||||
<!-- Uncomment this, if you want proxy to be used for GG connection -->
|
||||
<!--
|
||||
<proxy>
|
||||
<ip>127.0.0.1</ip>
|
||||
<port>8080</port>
|
||||
</proxy>
|
||||
-->
|
||||
|
||||
<!-- You can change this values according to your needs -->
|
||||
<conn_timeout>60</conn_timeout>
|
||||
<ping_interval>10</ping_interval>
|
||||
|
||||
<!-- GaduGadu server doesn't seem to answer pings any more :-(
|
||||
So let's give it 10 year :-) -->
|
||||
<pong_timeout>315360000</pong_timeout>
|
||||
|
||||
<!-- this time after disconnection from gg server the transport
|
||||
will try to connect again -->
|
||||
<reconnect>300</reconnect>
|
||||
|
||||
<!-- How long to wait before restart, after jabber server connection is broken
|
||||
negative value means, that jggtrans should terminate -->
|
||||
<restart_timeout>60</restart_timeout>
|
||||
|
||||
<!-- Delay between the unavailable presence is received from user and loggin out
|
||||
from GG - for nice <presence type="invisible"/> support -->
|
||||
<disconnect_delay>5</disconnect_delay>
|
||||
|
||||
<!-- list of gg servers to use.
|
||||
<hub/> means "use GG hub to find server"
|
||||
<server/> tag should contain server address and may contain "port"
|
||||
attribute with port number. When TLS is available (supported by libgadu)
|
||||
it will be used unless "tls" attribute is set to "no". Please notice,
|
||||
that not all servers will accept TLS connections.
|
||||
Servers (including hub) are tried in order as they appear in <servers/>
|
||||
element.
|
||||
A reasonable default server list is hardcoded in jggtrans.
|
||||
-->
|
||||
<!--
|
||||
<servers>
|
||||
<hub/>
|
||||
<server port="443">217.17.41.90</server>
|
||||
<server tls="no">217.17.41.85</server>
|
||||
<server tls="no">217.17.41.88</server>
|
||||
</servers>
|
||||
-->
|
||||
|
||||
<!-- Spool directory. This is the place, where user info will be stored. -->
|
||||
<!-- Be careful about permissions - users' GG passwords are stored there -->
|
||||
<spool>JABBERD14-SPOOL-DIRECTORY/gg.SERVERNAME/</spool>
|
||||
|
||||
<!-- Where to store pid file. This tag is optional. -->
|
||||
<pidfile>PID_FILE_DIRECTORY/gg-t.pid</pidfile>
|
||||
|
||||
<!-- jid allowed to do some administrative task (eg. browsing online users).
|
||||
May be used multiple times. -->
|
||||
<admin>THE_ADMIN_OF_GG_TRANSPORT@SERVERNAME</admin>
|
||||
|
||||
<!-- ACL gives detailed access control to the transport -->
|
||||
<acl>
|
||||
<!-- example entries: -->
|
||||
|
||||
<allow who="admin@SERVERNAME" what="iq/query?xmlns=http://jabber.org/protocol/stats"/>
|
||||
<!-- will allow statistics gathering to admin@mydomain -->
|
||||
|
||||
<deny who="*" what="iq/query?xmlns=http://jabber.org/protocol/stats"/>
|
||||
<!-- will deny statistics gathering for anybody else -->
|
||||
|
||||
<!-- <allow who="*@mydomain"/> -->
|
||||
<!-- will allow anything else to users from "mydomain" -->
|
||||
|
||||
<!-- <deny what="iq/query?xmlns=jabber:x:register"/> -->
|
||||
<!-- will deny registration for all other users -->
|
||||
|
||||
<!-- <allow what="presence"/> -->
|
||||
<!-- allow presence from anybody -->
|
||||
|
||||
<!-- <allow what="iq"/> -->
|
||||
<!-- allow iq from anybody -->
|
||||
|
||||
<!-- <allow what="message"/> -->
|
||||
<!-- allow message from anybody -->
|
||||
|
||||
<!-- <deny/> -->
|
||||
<!-- will deny anything else -->
|
||||
</acl>
|
||||
|
||||
</jggtrans>
|
137
examples/transport-configs/ile/master.xml
Normal file
137
examples/transport-configs/ile/master.xml
Normal file
@ -0,0 +1,137 @@
|
||||
<!-- ile master.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
|
||||
<config>
|
||||
<jabber>
|
||||
<server>127.0.0.1</server>
|
||||
<port>5238</port>
|
||||
<secret>ADD_SECRET_HERE</secret>
|
||||
<service>ile.SERVERNAME</service>
|
||||
<connectsleep>7</connectsleep> <!-- seconds to wait if we get disconnected -->
|
||||
<language>nl</language>
|
||||
<vCard>
|
||||
<FN>I Love Email</FN>
|
||||
<DESC>With this service you can receive email notifications.
|
||||
|
||||
Security warning: Be careful when using this. Your password will travel in clear from your client to your jabber server if you don't use SSL and it will probably travel in clear from the jabber server to your email server. Use with care. This shouldn't be an issue in your Intranet, but it is if you use an ILE installed in a foreign jabber server.</DESC>
|
||||
<MAIL>ADD_YOUR_EMAIL_ADDRESS_HERE</MAIL>
|
||||
<URL>http://ile.jabberstudio.org/</URL>
|
||||
</vCard>
|
||||
</jabber>
|
||||
|
||||
<debug>
|
||||
<file>LOCATION_OF_ILE_LOG_FILE</file>
|
||||
<level>1</level> <!-- man Net::Jabber::Debug -->
|
||||
</debug>
|
||||
|
||||
<mail>
|
||||
<checkinterval>10</checkinterval> <!-- in minutes -->
|
||||
<timeout>20</timeout> <!-- timeout for IMAP/POP connection, in seconds -->
|
||||
</mail>
|
||||
|
||||
<files>
|
||||
<users>JABBERD14-SPOOL-DIRECTORY/ile.SERVERNAME/users.db</users>
|
||||
<passwords>JABBERD14-SPOOL-DIRECTORY/ile.SERVERNAME/passwords.db</passwords>
|
||||
<hosts>JABBERD14-SPOOL-DIRECTORY/ile.SERVERNAME/hosts.db</hosts>
|
||||
<types>JABBERD14-SPOOL-DIRECTORY/ile.SERVERNAME/types.db</types>
|
||||
<notifyxa>JABBERD14-SPOOL-DIRECTORY/ile.SERVERNAME/notifyxa.db</notifyxa>
|
||||
<notifydnd>JABBERD14-SPOOL-DIRECTORY/ile.SERVERNAME/notifydnd.db</notifydnd>
|
||||
<urls>JABBERD14-SPOOL-DIRECTORY/ile.SERVERNAME/urls.db</urls>
|
||||
</files>
|
||||
|
||||
<form>
|
||||
<en>
|
||||
<instructions>Please fill in the fields,according to your email account settings and notification preferences</instructions>
|
||||
<title>ILE: Email notification service</title>
|
||||
<email_options>Email account settings</email_options>
|
||||
<user>Username</user>
|
||||
<pass>Password</pass>
|
||||
<host>Hostname</host>
|
||||
<type>Type</type>
|
||||
<newmail>You have received NUM email messages since last time I checked, which was CHECKINTERVAL minutes ago.</newmail>
|
||||
<errorcheck>There was an error while trying to check mail for ACCOUNT.</errorcheck>
|
||||
<notify_options>Notification Options</notify_options>
|
||||
<notifyxa>Notify even when Xtended Away (XA)</notifyxa>
|
||||
<notifydnd>Notify even when Do Not Disturb (DND)</notifydnd>
|
||||
<webmail_url>Webmail URL</webmail_url>
|
||||
<webmail_login>Login to ACCOUNT</webmail_login>
|
||||
<iledesc>ILE: an email notifier component: http://ile.jabberstudio.org</iledesc>
|
||||
</en>
|
||||
|
||||
<es>
|
||||
<instructions>Por favor, rellene los campos del formulario.</instructions>
|
||||
<title>ILE: Servicio de notificación de correo</title>
|
||||
<email_options>Configuración de la cuenta de correo</email_options>
|
||||
<user>Usuario</user>
|
||||
<pass>Clave</pass>
|
||||
<host>Host</host>
|
||||
<type>Tipo</type>
|
||||
<newmail>Ha recibido NUM email(s) desde la última comprobación que fue hace CHECKINTERVAL minutos</newmail>
|
||||
<errorcheck>Ha habido un error en la comprobación del correo para la cuenta ACCOUNT.</errorcheck>
|
||||
<notify_options>Opciones de notificación</notify_options>
|
||||
<notifyxa>Notificar incluso si muy ausente (XA)</notifyxa>
|
||||
<notifydnd>Notificar incluso si no molestar (DND)</notifydnd>
|
||||
<webmail_url>Webmail URL</webmail_url>
|
||||
<webmail_login>Leer correo de ACCOUNT</webmail_login>
|
||||
<iledesc>ILE: un notificador de nuevo email - http://ile.jabberstudio.org</iledesc>
|
||||
</es>
|
||||
|
||||
<ca>
|
||||
<instructions>Ompli els camps del formulari.</instructions>
|
||||
<title>ILE: Servei de notificació de nou email</title>
|
||||
<email_options>Dades del compte de mail</email_options>
|
||||
<user>Usuari</user>
|
||||
<pass>Clau</pass>
|
||||
<host>Host</host>
|
||||
<type>Tipus</type>
|
||||
<newmail>Ha rebut NUM email(s) des de la última comprobació que va ser fa CHECKINTERVAL minuts.</newmail>
|
||||
<errorcheck>S'ha produit un error en la comprobació del correu per al compte ACCOUNT.</errorcheck>
|
||||
<notify_options>Opcions de notificació</notify_options>
|
||||
<notifyxa>Notificar si molt absent (XA)</notifyxa>
|
||||
<notifydnd>Notificar si no molestar (DND)</notifydnd>
|
||||
<webmail_url>Webmail URL</webmail_url>
|
||||
<webmail_login>Llegir correu de ACCOUNT</webmail_login>
|
||||
<iledesc>ILE: un notificador de nou email - http://ile.jabberstudio.org</iledesc>
|
||||
</ca>
|
||||
|
||||
<ro>
|
||||
<!-- Contributed by Adrian Rappa -->
|
||||
<instructions>Va rog completati urmatoarele campuri</instructions>
|
||||
<title>I Love Email: new email notification service</title>
|
||||
<email_options>Email account settings</email_options>
|
||||
<user>Nume utilizator</user>
|
||||
<pass>Parola</pass>
|
||||
<host>Nume gazda</host>
|
||||
<type>Tip</type>
|
||||
<newmail>Ati primit NUM mesaj(e) de la ultima verificare, care a fost acum CHECKINTERVAL minute.</newmail>
|
||||
<errorcheck>A fost eroare in timp ce incercam sa verific posta pentru ACCOUNT.</errorcheck>
|
||||
<notify_options>Notification Options</notify_options>
|
||||
<notifyxa>Notify even when Xtended Away (XA)</notifyxa>
|
||||
<notifydnd>Notify even when Do Not Disturb (DND)</notifydnd>
|
||||
<webmail_url>Webmail URL</webmail_url>
|
||||
<webmail_login>Login to ACCOUNT</webmail_login>
|
||||
<iledesc>ILE: an email notifier component: http://ile.jabberstudio.org</iledesc>
|
||||
</ro>
|
||||
|
||||
<nl>
|
||||
<!-- Contributed by Sander Devrieze -->
|
||||
<instructions>Vul alstublieft volgende velden in overeenkomstig met uw e-mail account instellingen en uw notificatievoorkeuren.</instructions>
|
||||
<title>ILE: Service voor E-mail notificaties</title>
|
||||
<email_options>Instellingen E-mail account</email_options>
|
||||
<user>Gebruikersnaam</user>
|
||||
<pass>Wachtwoord</pass>
|
||||
<host>Naam mailserver (inkomend)</host>
|
||||
<type>Soort verbinding</type>
|
||||
<newmail>U hebt NUM berichten ontvangen sinds CHECKINTERVAL minuten geleden.</newmail>
|
||||
<errorcheck>Fout tijdens controle op nieuwe e-mails bij ACCOUNT. ILE zal deze account niet meer opnieuw controleren totdat u uw registratiegegevens wijzigt of opnieuw aanmeldt.</errorcheck>
|
||||
<notify_options>Notificatie-instellingen</notify_options>
|
||||
<notifyxa>Notificeer ook in status Niet Beschikbaar (XA)</notifyxa>
|
||||
<notifydnd>Notificeer ook in status Niet Storen (DND)</notifydnd>
|
||||
<webmail_url>Webmail URL</webmail_url>
|
||||
<webmail_login>Log in op ACCOUNT</webmail_login>
|
||||
<iledesc>ILE: een service om e-mail notificaties te ontvangen: http://ile.jabberstudio.org</iledesc>
|
||||
</nl>
|
||||
|
||||
</form>
|
||||
|
||||
</config>
|
130
examples/transport-configs/jit/master.xml
Normal file
130
examples/transport-configs/jit/master.xml
Normal file
@ -0,0 +1,130 @@
|
||||
<!-- jit master.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<jabber>
|
||||
|
||||
<!--
|
||||
You need to add elogger and rlogger entries here when using ejabberd.
|
||||
In this case the transport will do the logging.
|
||||
-->
|
||||
|
||||
<log id='elogger'>
|
||||
<host/>
|
||||
<logtype/>
|
||||
<file>ERROR_LOG_DIRECTORY/jit</file> <!-- WPjabber logs with date -->
|
||||
</log>
|
||||
|
||||
<log id='rlogger'>
|
||||
<host/>
|
||||
<logtype>record</logtype>
|
||||
<file>RECORD_LOG_DIRECTORY/jit</file> <!-- WPjabber logs with date -->
|
||||
</log>
|
||||
|
||||
<!--
|
||||
Some Jabber server implementations do not provide
|
||||
XDB services (for example jabberd 2.0 and ejabberd).
|
||||
xdb_file-jit.so is loaded in to handle all XDB requests.
|
||||
-->
|
||||
|
||||
<!-- See also information in xdb_file/README of the JIT package! -->
|
||||
|
||||
<xdb id="xdb">
|
||||
<host/>
|
||||
<load>
|
||||
<xdb_file>JABBER_LIBS_DIRECTORYxdb_file-jit.so</xdb_file> <!-- This is the renamed xdb_file.so of JIT. -->
|
||||
</load>
|
||||
<xdb_file xmlns="jabber:config:xdb_file">
|
||||
<spool><jabberd:cmdline flag='s'>JABBERD14-SPOOL-DIRECTORY</jabberd:cmdline></spool>
|
||||
</xdb_file>
|
||||
</xdb>
|
||||
|
||||
<!--
|
||||
localhost is your jabber host.
|
||||
Replace "localhost" by the full host name of your server
|
||||
and have all host names here resolveable via DNS if you
|
||||
want the transport to be available to the public.
|
||||
-->
|
||||
|
||||
<service id="icq.SERVERNAME">
|
||||
<!--
|
||||
Replace localhost with the same name as above to enable sms.
|
||||
-->
|
||||
<host>sms.icq.SERVERNAME</host>
|
||||
<!-- JIT configuration -->
|
||||
<icqtrans xmlns="jabber:config:icqtrans">
|
||||
<sms>
|
||||
<host>sms.icq.SERVERNAME</host>
|
||||
<!-- status of virtual "sms-contacts" -->
|
||||
<show>away</show>
|
||||
<status/>
|
||||
</sms>
|
||||
<instructions>Fill in your UIN and password.</instructions>
|
||||
<search>Search ICQ users.</search>
|
||||
<jabberd:include>./vCard.xml</jabberd:include>
|
||||
<!-- Hashtable for users -->
|
||||
<prime>3907</prime>
|
||||
<!-- Send messages from icq as chat to jabber clients -->
|
||||
<chat/>
|
||||
<!-- ICQ web presence -->
|
||||
<web/>
|
||||
<!--
|
||||
If you don't want jabber:x:data forms
|
||||
in reg and search uncomment this tag.
|
||||
Not recomended
|
||||
-->
|
||||
<no_xdata/>
|
||||
<!--
|
||||
Remove this tag to disable JIT's own contact list.
|
||||
This will break the transport if it can not request
|
||||
the user's roster via xdb get then (meaning the peer
|
||||
uses jabberd 2 or the peer uses a remote jabber
|
||||
server).
|
||||
-->
|
||||
<own_roster/>
|
||||
<!--
|
||||
When present, this tag will tell JIT not to try to
|
||||
get the user's roster (which will take a bit of time
|
||||
to fail in scenarios described above).
|
||||
-->
|
||||
<no_jabber_roster/>
|
||||
<!-- File with stats -->
|
||||
<user_count_file>/opt/ejabberd/var/log/jabber/count/jit</user_count_file>
|
||||
<!--
|
||||
Interval beetween checking sessions: ping, messages, acks
|
||||
-->
|
||||
<session_check>5</session_check>
|
||||
<!-- Reconnect retries. -->
|
||||
<reconnects>5</reconnects>
|
||||
<!--
|
||||
Time in sec when session can be inactive, 0 - disabled
|
||||
-->
|
||||
<session_timeout>18000</session_timeout>
|
||||
<charset>windows-1252</charset>
|
||||
<server>
|
||||
<host port="5190">login.icq.com</host>
|
||||
</server>
|
||||
</icqtrans>
|
||||
<!-- JIT module -->
|
||||
<load>
|
||||
<icqtrans>JABBER_LIBS_DIRECTORYjit.so</icqtrans>
|
||||
</load>
|
||||
</service>
|
||||
|
||||
<!--
|
||||
The settings here have to match the setting you made
|
||||
in your main Jabber server's configuration file.
|
||||
Replace localhost with your main jabber server host name.
|
||||
-->
|
||||
|
||||
<service id="icq.SERVERNAME-linker">
|
||||
<host>SERVERNAME</host>
|
||||
<uplink/>
|
||||
<connect>
|
||||
<ip>127.0.0.1</ip>
|
||||
<port>5234</port>
|
||||
<jabberd:include>./secret.xml</jabberd:include>
|
||||
</connect>
|
||||
</service>
|
||||
|
||||
<pidfile>PID_FILE_DIRECTORY/jit.pid</pidfile>
|
||||
|
||||
</jabber>
|
3
examples/transport-configs/jit/secret.xml
Normal file
3
examples/transport-configs/jit/secret.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<!-- jit secret.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<secret>ADD_SECRET_HERE</secret>
|
8
examples/transport-configs/jit/vCard.xml
Normal file
8
examples/transport-configs/jit/vCard.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<!-- jit vCard.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<vCard>
|
||||
<FN>ICQ Transport (JIT)</FN>
|
||||
<DESC>This is the Jabber ICQ Transport.</DESC>
|
||||
<MAILADD_YOUR_EMAIL_ADDRESS_HERE/MAIL>
|
||||
<URL>http://jit.jabberstudio.org/</URL>
|
||||
</vCard>
|
125
examples/transport-configs/msn-t/master.xml
Normal file
125
examples/transport-configs/msn-t/master.xml
Normal file
@ -0,0 +1,125 @@
|
||||
<!-- msn-t master.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<jabber>
|
||||
|
||||
<!--
|
||||
You need to add elogger and rlogger entries here when using ejabberd.
|
||||
In this case the transport will do the logging.
|
||||
-->
|
||||
|
||||
<log id='elogger'>
|
||||
<host/>
|
||||
<logtype/>
|
||||
<format>%d: [%t] (%h): %s</format>
|
||||
<file>ERROR_LOG_DIRECTORY/msn-t.log</file>
|
||||
</log>
|
||||
|
||||
<log id='rlogger'>
|
||||
<host/>
|
||||
<logtype>record</logtype>
|
||||
<format>%d %h %s</format>
|
||||
<file>RECORD_LOG_DIRECTORY/msn-t.log</file>
|
||||
</log>
|
||||
|
||||
<!--
|
||||
Some Jabber server implementations do not provide
|
||||
XDB services (for example jabberd 2.0 and ejabberd).
|
||||
xdb_file.so is loaded in to handle all XDB requests.
|
||||
-->
|
||||
|
||||
<xdb id="xdb">
|
||||
<host/>
|
||||
<load>
|
||||
<xdb_file>JABBER_LIBS_DIRECTORYxdb_file.so</xdb_file>
|
||||
</load>
|
||||
<xdb_file xmlns="jabber:config:xdb_file">
|
||||
<spool><jabberd:cmdline flag='s'>JABBERD14-SPOOL-DIRECTORY</jabberd:cmdline></spool>
|
||||
</xdb_file>
|
||||
</xdb>
|
||||
|
||||
<!--
|
||||
localhost is your jabber host.
|
||||
Replace "localhost" by the full host name of your server
|
||||
and have all host names here resolveable via DNS if you
|
||||
want the transport to be available to the public.
|
||||
-->
|
||||
|
||||
<service id="msn.SERVERNAME">
|
||||
<!-- msn-t configuration -->
|
||||
<msntrans xmlns="jabber:config:msntrans">
|
||||
<instructions>Fill in your MSN account and password (eg: user1@hotmail.com). A nickname is optional.</instructions>
|
||||
<vCard>
|
||||
<FN>MSN Transport</FN>
|
||||
<DESC>This is the MSN Transport.</DESC>
|
||||
<EMAILADD_YOUR_EMAIL_ADDRESS_HERE/EMAIL>
|
||||
<URL>http://msn-transport.jabberstudio.org/</URL>
|
||||
</vCard>
|
||||
<!--
|
||||
Conference support allows you to create groupchat rooms on MSN
|
||||
transport and invite MSN users to join.
|
||||
-->
|
||||
<conference id="conference.msn.SERVERNAME">
|
||||
<!--
|
||||
This will make MSN transport invite you to a special groupchat
|
||||
room when more then one user joins a normal one-on-one session.
|
||||
Joining this room will make MSN transport "switch" the session
|
||||
into groupchat mode. If you ignore it, MSN transport will
|
||||
continue to send the messages as one-on-one chats.
|
||||
-->
|
||||
<invite>More than one user entered this chat session. Enter this room to switch to groupchat modus.</invite>
|
||||
<notice>
|
||||
<join> is available</join>
|
||||
<leave> has leaved the room</leave>
|
||||
</notice>
|
||||
</conference>
|
||||
<!-- Enable Hotmail inbox notification -->
|
||||
<headlines/>
|
||||
<!--
|
||||
Enable fancy friendly names
|
||||
If the user enters a nickname upon registration, and the user has a status message,
|
||||
their MSN friendly name will be "nickname - status message"
|
||||
|
||||
If the user does not enter a nickname on registration, but they do have a status message,
|
||||
their friendly name will just be their status message
|
||||
|
||||
If the user did enter a nickname on registration, but they have a blank status message,
|
||||
then their friendly name will just be the registered nickname
|
||||
|
||||
If the user did not enter a nickname on registration, and they have a blank status message,
|
||||
their nickname will just be the username portion of their JID
|
||||
|
||||
If the above chosen friendly name is too long, then it will be truncated and "..." placed
|
||||
at the end. MSN only supports friendly names of 128 characters, so this is unavoidable.
|
||||
|
||||
If this is disabled, then the registered nick is always sent as the MSN friendly name,
|
||||
or if that is blank, the username portion of their JID is sent instead
|
||||
-->
|
||||
<fancy_friendly/>
|
||||
</msntrans>
|
||||
<!-- msn-t module -->
|
||||
<load>
|
||||
<msntrans>JABBER_LIBS_DIRECTORYmsn-t.so</msntrans>
|
||||
</load>
|
||||
</service>
|
||||
|
||||
<!--
|
||||
Here the jabberd 1.4.x that runs the MSN Transport
|
||||
module is instructed to uplink to the main Jabber
|
||||
server.
|
||||
The settings here have to match the setting you made
|
||||
in your main Jabber server's configuration file.
|
||||
Replace localhost with your main jabber server host name.
|
||||
-->
|
||||
|
||||
<service id="msn.SERVERNAME-linker">
|
||||
<uplink/>
|
||||
<connect>
|
||||
<ip>127.0.0.1</ip>
|
||||
<port>5235</port>
|
||||
<secret>ADD_SECRET_HERE</secret>
|
||||
</connect>
|
||||
</service>
|
||||
|
||||
<pidfile>PID_FILE_DIRECTORY/msn-t.pid</pidfile>
|
||||
|
||||
</jabber>
|
81
examples/transport-configs/yahoo-t/master.xml
Normal file
81
examples/transport-configs/yahoo-t/master.xml
Normal file
@ -0,0 +1,81 @@
|
||||
<!-- yahoo-t master.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<jabber>
|
||||
|
||||
<!-- You need to add elogger and rlogger entries here when using ejabberd. In this case the transport will do the logging. -->
|
||||
|
||||
<log id='elogger'>
|
||||
<host/>
|
||||
<logtype/>
|
||||
<format>%d: [%t] (%h): %s</format>
|
||||
<file>ERROR_LOG_DIRECTORY/yahoo-t.log</file>
|
||||
<stderr/>
|
||||
</log>
|
||||
|
||||
<!--
|
||||
Some Jabber server implementations do not provide
|
||||
XDB services (for example jabberd 2.0 and ejabberd).
|
||||
xdb_file.so is loaded in to handle all XDB requests.
|
||||
-->
|
||||
|
||||
<xdb id="xdb">
|
||||
<host/>
|
||||
<load>
|
||||
<xdb_file>JABBER_LIBS_DIRECTORYxdb_file.so</xdb_file>
|
||||
</load>
|
||||
<xdb_file xmlns="jabber:config:xdb_file">
|
||||
<spool><jabberd:cmdline flag='s'>JABBERD14-SPOOL-DIRECTORY</jabberd:cmdline></spool>
|
||||
</xdb_file>
|
||||
</xdb>
|
||||
|
||||
<!--
|
||||
localhost is your jabber host.
|
||||
Replace "localhost" by the full host name of your server
|
||||
and have all host names here resolveable via DNS if you
|
||||
want the transport to be available to the public.
|
||||
-->
|
||||
|
||||
<service id="yahoo.SERVERNAME">
|
||||
<!-- yahoo-t configuration -->
|
||||
<config xmlns="jabber:config:yahoo">
|
||||
<jabberd:include>./vCard.xml</jabberd:include>
|
||||
<instructions>Fill in your YAHOO! Messenger username and password to register on this transport.</instructions>
|
||||
<server>scs.msg.yahoo.com</server>
|
||||
<port>5050</port>
|
||||
<!--
|
||||
The character map. This provides character set translation from UTF-8
|
||||
to the indicated character map. See the man page for 'iconv' for available
|
||||
character maps on your platform. CP1252 is the standard Windows character
|
||||
set.
|
||||
-->
|
||||
<charmap>CP1252</charmap>
|
||||
<!--
|
||||
When this element exists, the transport will send new mail notifications as
|
||||
well as a count of unread messages when the user initially logs in.
|
||||
-->
|
||||
<newmail/>
|
||||
</config>
|
||||
<!-- yahoo-t module -->
|
||||
<load>
|
||||
<yahoo_transport>JABBER_LIBS_DIRECTORY/yahoo-t.so</yahoo_transport>
|
||||
</load>
|
||||
</service>
|
||||
|
||||
<!--
|
||||
The settings here have to match the setting you made
|
||||
in your main Jabber server's configuration file.
|
||||
Replace localhost with your main jabber server host name.
|
||||
-->
|
||||
|
||||
<service id="yahoo.SERVERNAME-linker">
|
||||
<uplink/>
|
||||
<connect>
|
||||
<ip>127.0.0.1</ip>
|
||||
<port>5236</port>
|
||||
<jabberd:include>./secret.xml</jabberd:include>
|
||||
</connect>
|
||||
</service>
|
||||
|
||||
<pidfile>PID_FILE_DIRECTORY/yahoo-t.pid</pidfile>
|
||||
|
||||
</jabber>
|
3
examples/transport-configs/yahoo-t/secret.xml
Normal file
3
examples/transport-configs/yahoo-t/secret.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<!-- yahoo-t secret.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<secret>ADD_SECRET_HERE</secret>
|
9
examples/transport-configs/yahoo-t/vCard.xml
Normal file
9
examples/transport-configs/yahoo-t/vCard.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<!-- yahoo-t Card.xml of SERVERNAME by Sander Devrieze -->
|
||||
|
||||
<vCard>
|
||||
<NAME>Yahoo! Transport</NAME>
|
||||
<FN>vCard not implemented in current version!</FN>
|
||||
<DESC>Het Yahoo! transport.</DESC>
|
||||
<MAILADD_YOUR_EMAIL_ADDRESS_HERE/MAIL>
|
||||
<URL>http://yahoo-transport-2.jabberstudio.org/</URL>
|
||||
</vCard>
|
Loading…
Reference in New Issue
Block a user