Преглед изворни кода

Update docs for DNS settings: Email2Matrix

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3936/head
Suguru Hirahara пре 1 година
родитељ
комит
ff6ef85d5e
No known key found for this signature in database GPG Key ID: E4F9743DAB4B7B75
1 измењених фајлова са 8 додато и 4 уклоњено
  1. +8
    -4
      docs/configuring-playbook-email2matrix.md

+ 8
- 4
docs/configuring-playbook-email2matrix.md Прегледај датотеку

@@ -8,10 +8,6 @@ See the project's [documentation](https://github.com/devture/email2matrix/blob/m


## Preparation ## Preparation


## Adjusting DNS records

It's not strictly necessary, but you may increase the chances that incoming emails reach your server by adding an `MX` record for `matrix.example.com`, as described in the [Configuring DNS](configuring-dns.md) documentation page.

### Port availability ### Port availability


Ensure that port 25 is available on your Matrix server and open in your firewall. Ensure that port 25 is available on your Matrix server and open in your firewall.
@@ -54,6 +50,14 @@ Make sure that you and the sender user are part of the same room and that the se


Take note of each room's room ID (different clients show the room ID in a different place). You'll need the room ID when [configuring the playbook](#adjusting-the-playbook-configuration) below. Take note of each room's room ID (different clients show the room ID in a different place). You'll need the room ID when [configuring the playbook](#adjusting-the-playbook-configuration) below.


## Adjusting DNS records

To increase the chances that incoming emails reach your server, you can set up a `MX` record for `matrix.example.com` that looks like this:

| Type | Host | Priority | Weight | Port | Target |
|------|----------|----------|--------|------|------------------------------------|
| MX | `matrix` | 10 | 0 | - | `matrix.example.com` |

## Adjusting the playbook configuration ## Adjusting the playbook configuration


To enable Email2Matrix, add the following configuration to your `vars.yml` file. Make sure to replace `ACCESS_TOKEN_FOR_EMAIL2MATRIX1_HERE` and `ACCESS_TOKEN_FOR_EMAIL2MATRIX2_HERE` with the ones created [above](#obtain-an-access-token). To enable Email2Matrix, add the following configuration to your `vars.yml` file. Make sure to replace `ACCESS_TOKEN_FOR_EMAIL2MATRIX1_HERE` and `ACCESS_TOKEN_FOR_EMAIL2MATRIX2_HERE` with the ones created [above](#obtain-an-access-token).


Loading…
Откажи
Сачувај