Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2012
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. %%% =======
  2. %%% MODULES
  3.  
  4. %%
  5. %% Modules enabled in all ejabberd virtual hosts.
  6. %%
  7. {modules,
  8. [
  9. {mod_adhoc, []},
  10. {mod_announce, [{access, announce}]}, % requires mod_adhoc
  11. {mod_caps, []},
  12. {mod_configure,[]}, % requires mod_adhoc
  13. {mod_admin_extra, []},
  14. {mod_disco, []},
  15. %%{mod_echo, [{host, "echo.localhost"}]},
  16. {mod_irc, []},
  17. %% NOTE that mod_http_fileserver must also be enabled in the
  18. %% "request_handlers" clause of the "ejabberd_http" listener
  19. %% configuration (see the "LISTENING PORTS" section above).
  20. %%{mod_http_fileserver, [
  21. %% {docroot, "/var/www"},
  22. %% {accesslog, "/var/log/ejabberd/access.log"}
  23. %% ]},
  24. {mod_last, []},
  25. {mod_muc, [
  26. %%{host, "conference.@HOST@"},
  27. {access, muc},
  28. {access_create, muc},
  29. {access_persistent, muc},
  30. {access_admin, muc_admin},
  31. {max_users, 500}
  32. ]},
  33. %%{mod_muc_log,[]},
  34. {mod_offline, [{access_max_user_messages, max_user_offline_messages}]},
  35. {mod_privacy, []},
  36. {mod_private, []},
  37. {mod_proxy65, [
  38. {access, local},
  39. {shaper, c2s_shaper}
  40. ]},
  41. {mod_pubsub, [ % requires mod_caps
  42. {access_createnode, pubsub_createnode},
  43. {pep_sendlast_offline, false},
  44. {last_item_cache, false},
  45. %%{plugins, ["default", "pep"]}
  46. {plugins, ["flat", "hometree", "pep"]} % pep requires mod_caps
  47. ]},
  48. {mod_register, [
  49. %%
  50. %% After successful registration, the user receives
  51. %% a message with this subject and body.
  52. %%
  53. {welcome_message, {"Welcome!",
  54. "Welcome to a Jabber service powered by Debian. "
  55. "For information about Jabber visit "
  56. "http://www.jabber.org"}},
  57. %% Replace it with 'none' if you don't want to send such message:
  58. %%{welcome_message, none},
  59.  
  60. %%
  61. %% When a user registers, send a notification to
  62. %% these Jabber accounts.
  63. %%
  64. %%{registration_watchers, ["admin1@example.org"]},
  65.  
  66. {access, register}
  67. ]},
  68. {mod_roster, []},
  69. %%{mod_service_log,[]},
  70. %%{mod_shared_roster,[]},
  71. {mod_stats, []},
  72. {mod_time, []},
  73. {mod_vcard, []},
  74. {mod_version, []}
  75. ]}.
  76.  
  77. %%
  78. %% Enable modules with custom options in a specific virtual host
  79. %%
  80. %%{host_config, "localhost",
  81. %% [{{add, modules},
  82. %% [
  83. %% {mod_echo, [{host, "mirror.localhost"}]}
  84. %% ]
  85. %% }
  86. %% ]}.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement