Update docs/configuring-playbook-email.md: add an instruction to disable mail service

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2025-02-20 01:04:32 +09:00
parent 5b3b372f36
commit 235f11fede
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

View File

@ -35,6 +35,18 @@ For details about configuration, refer [this section](https://github.com/mother-
💡 To improve deliverability, we recommend relaying email through another SMTP server anyway.
### Disable mail service (optional)
For a low-power server you might probably want to disable exim-relay. To do so, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:
```yaml
exim_relay_enabled: false
```
Note that disabling exim-relay will stop email-notifications and other similar functions from working.
See [this entry on the FAQ](faq.md#how-do-i-optimize-this-setup-for-a-low-power-server) for other possible optimizations for a low-power server.
## Troubleshooting
See [this section](https://github.com/mother-of-all-self-hosting/ansible-role-exim-relay/blob/main/docs/configuring-exim-relay.md#troubleshooting) on the role's documentation for details.