root/trunk/djabberd.conf

Revision 671, 1.1 kB (checked in by bradfitz, 3 years ago)

un-duplicate the PresenceCheck code that was duplicated in changeset 658

also add more comments in the code, to explain what's going on in 658.

this adds a method to vhost to check_presence which will be expanded
in the future to reduce presence probe floods from users logging in
with lots of friends.

Line 
1OldSSL  enable
2
3# health checks from this IP (directive can be repeated) won't log and
4# won't allocate a connection id
5DeclareMonitor 127.0.0.1
6AdminPort 5200
7
8# defaults:
9ClientPort 5222
10ServerPort 5269
11
12SSLCertificateFile    /home/lj/cvs/djabberd/pem/server-cert.pem
13SSLCertificateKeyFile /home/lj/cvs/djabberd/pem/server-key.pem
14
15#PerlModule DJabberd::SixApart
16
17<VHost jabber.bradfitz.com>
18  S2S false
19  RequireSSL no
20
21  <Plugin DJabberd::Bot::Admin>
22    Users brad
23  </Plugin>
24
25  <Plugin DJabberd::Plugin::VCard::SQLite>
26     Storage vcards.sqlite
27  </Plugin>
28
29  <Plugin DJabberd::Authen::AllowedUsers>
30     Policy accept
31     AllowedUsers brad crucially test
32  </Plugin>
33  <Plugin DJabberd::Authen::StaticPassword>
34      Password password
35  </Plugin>
36
37#  <Plugin DJabberd::Authen::PAM />
38
39# These are loaded by default, if you don't load any others of
40# the same class:
41#  <Plugin DJabberd::PresenceChecker::Local />
42#  <Plugin DJabberd::Delivery::Local />
43#  <Plugin DJabberd::Delivery::S2S   />
44
45  <Plugin DJabberd::RosterStorage::SQLite>
46     Database roster.sqlite
47  </Plugin>
48
49</VHost>
50
51
52
53
54
55
Note: See TracBrowser for help on using the browser.