More XMPP updates

Dieser Commit ist enthalten in:
andryyy 2021-02-16 16:55:54 +01:00
Ursprung 11bf5ccc4e
Commit c54afa99ab
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 8EC34FF2794E25EF
3 geänderte Dateien mit 40 neuen und 29 gelöschten Zeilen

Datei anzeigen

@ -2,35 +2,6 @@ XMPP is provided by ejabberd, which describes itself as robust, scalable and ext
So first of all, thanks to ejabberd and its contributers!
## FAQs
- **Are messages stored on the server?**
Not by default. The default setting is to disable the message archive via mod_mam but allow users to enable the function if they want to:
```
mod_mam:
clear_archive_on_room_destroy: true
default: never
compress_xml: true
request_activates_archiving: true
```
- **Are uploaded files stored on the server?**
Yes, uploaded files are stored in the volume `xmpp-uploads-vol-1`.
The retention policy saves them for 30 days:
```
mod_http_upload_quota:
max_days: 30
```
- **Are messages stored when a JID is offline?**
Yes, up to 1000 messages are stored.
## Enable XMPP in mailcow
To enable XMPP for a domain, you need to edit the given domain in mailcow UI:

38
docs/u_e-xmpp-faq.md Normale Datei
Datei anzeigen

@ -0,0 +1,38 @@
## FAQ
- **I do not want to run ejabberd, is there a `SKIP_XMPP` variable?**
No, there is not. But you don't need one either.
The xmppd behaves the same way as SOGo or Solr do when disabled. A shell will be idling and ejabberd will **not** be started.
As soon as a domain is enabled for XMPP, the container will be restarted and ejabberd bootstrapped.
ejabberd is **very** light on resources, you may want to give it a try.
- **Are messages stored on the server?**
Not by default. The default setting is to disable the message archive via mod_mam but allow users to enable the function if they want to:
```
mod_mam:
clear_archive_on_room_destroy: true
default: never
compress_xml: true
request_activates_archiving: true
```
- **Are uploaded files stored on the server?**
Yes, uploaded files are stored in the volume `xmpp-uploads-vol-1`.
The retention policy saves them for 30 days:
```
mod_http_upload_quota:
max_days: 30
```
- **Are messages stored when a JID is offline?**
Yes, up to 1000 messages are stored.

Datei anzeigen

@ -97,6 +97,8 @@ nav:
- 'Rspamd': 'u_e-rspamd.md'
- 'SOGo': 'u_e-sogo.md'
- 'XMPP': 'u_e-xmpp-enable.md'
- 'FAQ': 'u_e-xmpp-faq.md'
- 'Enable XMPP': 'u_e-xmpp-enable.md'
- 'Docker':
- 'Customize Dockerfiles': 'u_e-docker-cust_dockerfiles.md'
- 'Docker Compose Bash Completion': 'u_e-docker-dc_bash_compl.md'