mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
brokerbrokerschatejabberderlanggroupchatiotjabberjabber-servermessagingmqttpubsubserversipsip-serverstunturnvoipxmpp
614f13714c
is_privacy_allow is only used in ejabberd_c2s:handle_info/3 to determine for a few presence types whether the packet is allowed to be forwarded to the user's client. This only makes sense if To#jid.user and To#jid.server match StateData#state.user and StateData#state.server. Also, add the atom in as parameter to a new argument Dir of is_privacy_allow and extract from that function privacy_check_packet(StateData, From, To, Packet, Dir) which runs the privavcy check without converting allow/deny to true/false. |
||
---|---|---|
contrib | ||
doc | ||
src | ||
tools | ||
.gitignore | ||
COPYING | ||
README |
ejabberd - High-Performance Enterprise Instant Messaging Server Quickstart guide 0. Requirements To compile ejabberd you need: - GNU Make - GCC - Erlang/OTP R12B-5 or higher. - exmpp 0.9.6 or higher - OpenSSL 0.9.8 or higher, for STARTTLS, SASL and SSL encryption. - Zlib 1.2.3 or higher, for Stream Compression support (XEP-0138). Optional. - Erlang mysql library. Optional. MySQL authentication/storage. - Erlang pgsql library. Optional. PostgreSQL authentication/storage. - PAM library. Optional. For Pluggable Authentication Modules (PAM). - ESASL library. Optional. For SASL GSSAPI authentication. - ImageMagick's Convert program. Optional. For CAPTCHA challenges. 1. Compile and install on *nix systems To compile ejabberd, go to the directory src/ and execute the commands: ./configure make If you get an error like: ./configure: No such file or directory the solution is to first execute: aclocal autoconf To install ejabberd, run this command with system administrator rights (root user): sudo make install These commands will: - Install the configuration files in /etc/ejabberd/ - Install ejabberd binary, header and runtime files in /lib/ejabberd/ - Install the administration script: /sbin/ejabberdctl - Install ejabberd documentation in /share/doc/ejabberd/ - Create a spool directory: /var/lib/ejabberd/ - Create a directory for log files: /var/log/ejabberd/ 2. Start ejabberd You can use the ejabberdctl command line administration script to start and stop ejabberd. For example: ejabberdctl start For detailed information please refer to the ejabberd Installation and Operation Guide