lxmppd.cfg.dist

Thu, 06 Nov 2008 16:52:39 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 06 Nov 2008 16:52:39 +0500
changeset 218
1263896ab2f1
parent 204
4ca91e0551b2
child 235
6526df1a7277
permissions
-rw-r--r--

Reworked the way lxmppd.cfg is used

36
62998e5319e3 Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1
204
4ca91e0551b2 Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents: 36
diff changeset
2 ---- lxmppd configuration file ----
36
62998e5319e3 Moved hosts to a config file, still need better config though
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3
218
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
4 config = {
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
5 hosts = { -- local hosts
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
6 "localhost";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
7 --"snikket.com";
204
4ca91e0551b2 Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents: 36
diff changeset
8 };
218
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
9 -- If the following is commented, no SSL will be set up on 5223
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
10 --[[ssl_ctx = {
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
11 mode = "server";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
12 protocol = "sslv23";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
13
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
14 key = "/home/matthew/ssl_cert/server.key";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
15 certificate = "/home/matthew/ssl_cert/server.crt";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
16 capath = "/etc/ssl/certs";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
17 verify = "none";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
18 };]]
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
19 modules = { -- enabled modules
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
20 "saslauth";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
21 "legacyauth";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
22 "roster";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
23 "register";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
24 "tls";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
25 "vcard";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
26 "private";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
27 "version";
1263896ab2f1 Reworked the way lxmppd.cfg is used
Waqas Hussain <waqas20@gmail.com>
parents: 204
diff changeset
28 "dialback";
204
4ca91e0551b2 Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents: 36
diff changeset
29 };
4ca91e0551b2 Reformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain <waqas20@gmail.com>
parents: 36
diff changeset
30 }

mercurial