Tuned ejabberd.cfg

This commit is contained in:
Ossi Salmi 2011-09-02 16:37:01 +03:00 committed by Timo Mkinen
parent 9b98ce9769
commit f949abb3a9

View file

@ -1,6 +1,6 @@
%%% %%%
%%% Debian ejabberd configuration file %%% ejabberd configuration file
%%% This config must be in UTF-8 encoding %%% This config must be in UTF-8 encoding
%%% %%%
%%% The parameters used in this configuration file are explained in more detail %%% The parameters used in this configuration file are explained in more detail
%%% in the ejabberd Installation and Operation Guide. %%% in the ejabberd Installation and Operation Guide.
@ -63,7 +63,7 @@ override_acls.
%% 4: Info %% 4: Info
%% 5: Debug %% 5: Debug
%% %%
{loglevel, 2}. {loglevel, 4}.
%% %%
%% watchdog_admins: If an ejabberd process consumes too much memory, %% watchdog_admins: If an ejabberd process consumes too much memory,
@ -191,7 +191,7 @@ override_acls.
%% Allowed values are: true or false. %% Allowed values are: true or false.
%% You must specify a certificate file. %% You must specify a certificate file.
%% %%
{s2s_use_starttls, true}. {s2s_use_starttls, required}.
%% %%
%% s2s_certfile: Specify a certificate file. %% s2s_certfile: Specify a certificate file.
@ -273,7 +273,7 @@ override_acls.
%% Authentication using PAM %% Authentication using PAM
%% %%
%%{auth_method, pam}. %%{auth_method, pam}.
%%{pam_service, "pamservicename"}. %%{pam_service, "ejabberd"}.
%% %%
%% Authentication using LDAP %% Authentication using LDAP
@ -437,7 +437,7 @@ user, host = admin.split("@") -%>
{access, max_user_sessions, [{100, all}]}. {access, max_user_sessions, [{100, all}]}.
%% Maximum number of offline messages that users can have: %% Maximum number of offline messages that users can have:
{access, max_user_offline_messages, [{5000, admin}, {100, all}]}. {access, max_user_offline_messages, [{5000, admin}, {100, all}]}.
%% This rule allows access only for local users: %% This rule allows access only for local users:
{access, local, [{allow, local}]}. {access, local, [{allow, local}]}.
@ -464,6 +464,9 @@ user, host = admin.split("@") -%>
%% Admins of this server are also admins of MUC service: %% Admins of this server are also admins of MUC service:
{access, muc_admin, [{allow, admin}]}. {access, muc_admin, [{allow, admin}]}.
%% Only accounts of the local ejabberd server can create rooms:
{access, muc_create, [{allow, local}]}.
%% All users are allowed to use MUC service: %% All users are allowed to use MUC service:
{access, muc, [{allow, all}]}. {access, muc, [{allow, all}]}.
@ -478,8 +481,8 @@ user, host = admin.split("@") -%>
%% is limited to 1 account every 10 minutes. To disable put: infinity %% is limited to 1 account every 10 minutes. To disable put: infinity
%%{registration_timeout, 600}. %%{registration_timeout, 600}.
%% Everybody can create pubsub nodes %% Only accounts on the local ejabberd server can create Pubsub nodes:
{access, pubsub_createnode, [{allow, all}]}. {access, pubsub_createnode, [{allow, local}]}.
%% %%
%% Define specific Access rules in a virtual host. %% Define specific Access rules in a virtual host.
@ -559,7 +562,7 @@ user, host = admin.split("@") -%>
{access_persistent, muc}, {access_persistent, muc},
{access_admin, muc_admin}, {access_admin, muc_admin},
{max_user_conferences, 10000}, {max_user_conferences, 10000},
{max_users, 500} {max_users, 1000}
]}, ]},
%%{mod_muc_log,[]}, %%{mod_muc_log,[]},
{mod_offline, [{access_max_user_messages, max_user_offline_messages}]}, {mod_offline, [{access_max_user_messages, max_user_offline_messages}]},