bug: Revolt.toml requires two additional fields under smtp #63

Closed
opened 2026-02-16 12:51:18 -05:00 by yindo · 1 comment
Owner

Originally created by @dollhaus on GitHub (Jul 16, 2024).

https://github.com/revoltchat/backend/blob/main/crates/core/config/Revolt.toml

[api.smtp]
host = "" # do NOT put a port number here, it will not be recognised
username = ""
password = ""
from_address = ""
port = ""
use_tls = true #set to false where host is an IP address 

Note for future documentation: TLS will not function correctly over docker's host adaptor. If SMTP is running on the same machine, and is accessed via 172.17.0.1, the SMTP server should be configured to listen only on the docker interface.

Originally created by @dollhaus on GitHub (Jul 16, 2024). https://github.com/revoltchat/backend/blob/main/crates/core/config/Revolt.toml ``` [api.smtp] host = "" # do NOT put a port number here, it will not be recognised username = "" password = "" from_address = "" port = "" use_tls = true #set to false where host is an IP address ``` Note for future documentation: TLS will not function correctly over docker's host adaptor. If SMTP is running on the same machine, and is accessed via 172.17.0.1, the SMTP server should be configured to listen **only** on the docker interface.
yindo added the bug label 2026-02-16 12:51:18 -05:00
yindo closed this issue 2026-02-16 12:51:18 -05:00
Author
Owner

@insertish commented on GitHub (Jul 28, 2024):

I've added (as comments) the additional optional fields to avoid confusion.

@insertish commented on GitHub (Jul 28, 2024): I've added (as comments) the additional optional fields to avoid confusion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/self-hosted#63