]> code.delx.au - pymsnt/blob - config-example.xml
* Added a nice error message if pycrypto or pyopenssl isn't installed.
[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 of the machine the transport is running on -->
8 <ip>127.0.0.1</ip>
9 <!-- The component JID of the transport. Unless you're doing clustering, leave this alone -->
10 <!-- <compjid>msn1</compjid> -->
11
12
13 <!-- The location of the spool directory.. if relative, relative to the PyMSNt dir.
14 Do not include the jid of the transport -->
15 <!-- <spooldir>/path/to/data</spooldir> -->
16 <!-- The location of the PID file, relative to the PyMSNt directory -->
17 <pid>PyMSNt.pid</pid>
18 <!-- If set, the transport will background itself when run -->
19 <background/>
20 <!-- The Twisted reactor to choose. Pick poll or epoll on Linux, kqueue on BSD. Or leave as default (select) -->
21 <!-- <reactor>poll</reactor> -->
22
23
24 <!-- The IP address of the main Jabber server to connect to -->
25 <mainServer>127.0.0.1</mainServer>
26 <!-- The TCP port to connect to the Jabber server on (this is the default for Jabberd2) -->
27 <port>5347</port>
28 <!-- The authentication token to use when connecting to the Jabber server -->
29 <secret>secret</secret>
30 <!-- Use Jabber.com's XCP component protocol extensions. -->
31 <!-- <useXCP/> -->
32
33
34 <!-- The default language to use -->
35 <lang>en</lang>
36 <!-- The website of the Jabber service -->
37 <website>http://host.com</website>
38
39
40 <!-- Comment out the following options to disable them, or uncomment them to enable them -->
41 <!-- Send email notification messages to users -->
42 <mailNotifications/>
43 <!-- Send greeting on login -->
44 <!-- <sessionGreeting>You have just started a session with PyMSNt</sessionGreeting> -->
45 <!-- Send message on successful registration -->
46 <!-- <registerMessage>You have successfully registered with PyMSNt</registerMessage> -->
47 <!-- Allow users to register with this transport -->
48 <allowRegister/>
49 <!-- 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 -->
50 <getAllAvatars/>
51
52
53 <!-- File transfer settings -->
54 <!-- Please give the port to listen for Jabber socks5 transfers on. -->
55 <ftJabberPort>8010</ftJabberPort>
56 <!-- Please give the port to listen for HTTP GETs here (Used in OOB file transfers). -->
57 <!--<ftOOBPort>8011</ftOOBPort>-->
58 <!-- 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) -->
59 <!--<ftOOBRoot>http://host.com/msn/files/</ftOOBRoot>-->
60
61 <!-- You can choose which users you wish to have as administrators. These users can perform some tasks with Ad-Hoc commands that others cannot -->
62 <!--<admins>
63 <jid>admin@host.com</jid>
64 </admins>-->
65
66
67 <!-- Log settings -->
68
69 <!-- The logging level
70 0 -> No logging
71 1 -> Log tracebacks
72 2 -> Log tracebacks, warnings and errors
73 3 -> Log everything -->
74 <!-- <debugLevel>0</debugLevel> -->
75
76 <!-- The file to log to. Leave this disabled for stdout -->
77 <!-- <debugFile>debug.log</debugFile> -->
78
79 </pymsnt>