Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dollhaus opened this issue Jul 16, 2024 · 1 comment
Closed

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

dollhaus opened this issue Jul 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dollhaus
Copy link

dollhaus commented 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.

@insertish
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants