How to set up Nginx - all I get are errors #639
Filip52542
started this conversation in
General
Replies: 1 comment
-
I fixed it a - I had to enable the proxy protocol Stalwart-side (https://stalw.art/docs/server/reverse-proxy/proxy-protocol/). The Nginx config now looks like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm a rookie when it comes to mail servers. I have seen this project and attempted to set it up on my server as it seems to be an out-of-the box product.
I have followed the official guide.
The ports I have configured the following way:
Connecting using
telnet
works (i.e.telnet mail.example.org 10025
).The problem lies with Nginx.
This is the relevant nginx configuration:
Trying
telnet mail.com.example 25
passes, but writingehlo
closes the connection (Connection closed by foreign host.
). In the Nginx error logs, I see the following line:The same goes with ports 465 and 10465 (that is less of a concern as it probably needs certificates).
I would greatly appreciate help regarding the Nginx configuration as there are few resources available online. Also, it would help if anyone could teach me how to secure port 465 with an SSL certificate (I already generated them with
certbot
).Best regards,
Filip
Beta Was this translation helpful? Give feedback.
All reactions