2024-12-07 10:46:15 +01:00
<!--
SPDX-FileCopyrightText: 2024 MDAD Team and contributors
SPDX-License-Identifier: AGPL-3.0-or-later
-->
2019-09-09 07:13:06 +02:00
# Setting up Synapse Simple Antispam (optional, advanced)
The playbook can install and configure [synapse-simple-antispam ](https://github.com/t2bot/synapse-simple-antispam ) for you.
2024-10-18 19:32:11 +02:00
See that project's documentation to learn what it does and why it might be useful to you. In short, it lets you fight invite-spam by automatically blocking invitiations from a list of servers specified by you (blacklisting).
2019-09-09 07:13:06 +02:00
2024-10-12 13:48:24 +02:00
## Adjusting the playbook configuration
2024-10-17 15:17:56 +02:00
Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file (adapt to your needs):
2019-09-09 07:13:06 +02:00
```yaml
matrix_synapse_ext_spam_checker_synapse_simple_antispam_enabled: true
matrix_synapse_ext_spam_checker_synapse_simple_antispam_config_blocked_homeservers:
- example.com
2024-10-17 15:58:28 +02:00
- example.net
2019-09-09 07:13:06 +02:00
```