]> code.delx.au - pymsnt/blob - config-example.xml
Fixed tel:+ jid being invalid. Added cache to (hopefully) speed things up.
[pymsnt] / config-example.xml
1 <pymsnt>
2 <!-- This file contains options to be configured by the server administrator. -->
3 <!-- Please read through all the options in this file -->
4
5 <!-- The JabberID of the transport -->
6 <jid>msn</jid>
7 <!-- The public IP or DNS name of the machine the transport is running on -->
8 <host>127.0.0.1</host>
9 <!-- The component JID of the transport. Unless you're doing clustering, leave this alone -->
10 <!-- <compjid>msn1</compjid> -->
11 <!-- The name of the transport in the service discovery list. -->
12 <!-- <discoName>MSN Transport</discoName> -->
13
14
15 <!-- The location of the spool directory.. if relative, relative to the PyMSNt dir.
16 Do not include the jid of the transport -->
17 <!-- <spooldir>/path/to/data</spooldir> -->
18 <!-- The location of the PID file, relative to the PyMSNt directory -->
19 <pid>PyMSNt.pid</pid>
20 <!-- If set, the transport will background itself when run -->
21 <background/>
22 <!-- The Twisted reactor to choose. Pick poll or epoll on Linux, kqueue on BSD. Or leave as default (select) -->
23 <!-- <reactor>poll</reactor> -->
24
25
26 <!-- The IP address of the main Jabber server to connect to -->
27 <mainServer>127.0.0.1</mainServer>
28 <!-- The TCP port to connect to the Jabber server on (this is the default for Jabberd2) -->
29 <port>5347</port>
30 <!-- The authentication token to use when connecting to the Jabber server -->
31 <secret>secret</secret>
32 <!-- Use Jabber.com's XCP component protocol extensions. -->
33 <!-- <useXCP/> -->
34
35
36 <!-- The default language to use -->
37 <lang>en</lang>
38 <!-- The website of the Jabber service -->
39 <website>http://host.com</website>
40
41
42 <!-- Comment out the following options to disable them, or uncomment them to enable them -->
43 <!-- Send email notification messages to users -->
44 <mailNotifications/>
45 <!-- Send greeting on login -->
46 <!-- <sessionGreeting>You have just started a session with PyMSNt</sessionGreeting> -->
47 <!-- Send message on successful registration -->
48 <!-- <registerMessage>You have successfully registered with PyMSNt</registerMessage> -->
49 <!-- Allow users to register with this transport -->
50 <allowRegister/>
51 <!-- Get all avatars. If this is set to true then avatars are grabbed for all your contacts immediately. If false then avatars are only grabbed when you're in a chat with a contact -->
52 <getAllAvatars/>
53
54
55 <!-- File transfer settings -->
56 <!-- The maximum size of a file transfer (in bytes). For unlimited, comment out, or set to 0 -->
57 <ftSizeLimit>524288</ftSizeLimit>
58 <!-- The maximum rate for file transfer (in bytes). For unlimited, comment out, or set to 0 -->
59 <ftRateLimit>2048</ftRateLimit>
60 <!-- Please give the port to listen for Jabber socks5 transfers on. -->
61 <ftJabberPort>8010</ftJabberPort>
62 <!-- Please give the port to listen for HTTP GETs here (Used in OOB file transfers). -->
63 <!--<ftOOBPort>8011</ftOOBPort>-->
64 <!-- Please give the root URL the transport should send to clients. (You can use an Apache reverse proxy to put this on your ordinary website) -->
65 <!--<ftOOBRoot>http://host.com/msn/files/</ftOOBRoot>-->
66
67 <!-- You can choose which users you wish to have as administrators. These users can perform some tasks with Ad-Hoc commands that others cannot -->
68 <!--<admins>
69 <jid>admin@host.com</jid>
70 </admins>-->
71
72
73 <!-- Log settings -->
74
75 <!-- The logging level
76 0 -> No logging
77 1 -> Log tracebacks
78 2 -> Log tracebacks, warnings and errors
79 3 -> Log everything -->
80 <!-- <debugLevel>0</debugLevel> -->
81
82 <!-- The file to log to. Leave this disabled for stdout -->
83 <!-- <debugFile>debug.log</debugFile> -->
84
85 </pymsnt>