-
Notifications
You must be signed in to change notification settings - Fork 10
/
spectrum.cfg
105 lines (77 loc) · 2.92 KB
/
spectrum.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[service]
# enable this spectrum instance
enable=1
# one of: aim, facebook, gg, icq, irc, msn, myspace, qq, simple, xmpp, yahoo
protocol=icq
# component ip
server=127.0.0.1
# if use_proxy is 1, the http_proxy env var will be used as the proxy server
# for example export http_proxy="http://user:passwd@your.proxy.server:port/"
use_proxy=0
# component JID
jid=$protocol.example.com
# component secret
password=secret
# component port
port=5347
config_interface = /var/run/spectrum/$jid.sock
# IP:port where filetransfer proxy binds to. This has to be public IP.
#filetransfer_bind_address=192.0.2.1:12345
# IP:port which will be sent in filetransfer request as stream host.
#filetransfer_public_address=192.0.2.1:12345
# admin JIDs - Jabber IDs of transport administrators who have access to admin adhoc commands
# separated by semicolons
#admins=admin@example.com;foo@bar.cz
# directory where downloaded files will be saved
filetransfer_cache=/var/lib/spectrum/filetransfer_cache
# URL used to acces filestransfer_cache directory from the web.
filetransfer_web=http://example.com/files/
# name of transport (this will appear in service discovery)
name=My ICQ Transport
# default language
language=en
# transport features separated by semicolons
# combination of: avatars, chatstate, filetransfer
# if commented, all features will be used
#transport_features = avatars;chatstate;filetransfer
# if vip_mode is 1, users are divided to 2 groups according to 'vip' database field
vip_mode=0
# if vip_mode is 1, you can set transport to be availabe only for VIP users by setting only_for_vip to 1.
only_for_vip=0
# if vip_mode is 1 and only_for_vip is 1, users can connect from these servers even they are not VIP.
# This feature is useful, if you want to enable transport only for users from your server, but also want
# to give access to VIP users from other servers (for example from GTalk)
# seperated by semicolons
#allowed_servers=localhost
# transport features separated by semicolons which will be used for VIP users.
# combination of: avatars, chatstate, filetransfer
# if commented, all features will be used
#vip_features = avatars;chatstate;filetransfer
# pid file
pid_file=/var/run/spectrum/$jid.pid
# require_tls to connect legacy network
#require_tls=false
[logging]
# log file, needs to be unique for each spectrum instance
log_file=/var/log/spectrum/$jid.log
# log areas
# combination of: xml, purple
log_areas=xml;purple
[database]
# mysql or sqlite
type=sqlite
# hostname (not needed for sqlite)
#host=localhost
# username (not needed for sqlite)
#user=user
# password (not needed for sqlite)
#password=password
# sqlite: set path to database file here
# mysql: set to name of database
database=/var/lib/spectrum/$jid/database.sqlite
# table prefix for multiple transport instances sharing the same database
#prefix=icq_
[purple]
# avatar, vcard, roster storage
# needs to be unique for each spectrum instance
userdir=/var/lib/spectrum/$jid/userdir