mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-27 10:25:52 +03:00
[GH-ISSUE #450] [Feature Request] Set up a mail server behind Nginx Proxy Manager #380
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#380
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aitkar on GitHub (Jun 7, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/450
Hi,
First of all, many thanks to have created this great tool to handle reverse proxy servers in a simple and great UI.
I need to "stream" some mails servers ports (25,110,143 etc...) following a sub domain e.g. mail.example.com
An example here:
I am using jc21/nginx-proxy-manager:latest 2.3
Thank you for considering this new feature request.
@Shifter2600 commented on GitHub (Aug 21, 2020):
I would be interested in this as well. I was able to get reverse proxies going for pop but I don't have it working for imap. Wonder if anyone has imap working.
@kennylajara commented on GitHub (May 12, 2021):
Any update on this issue?
@Tradeforlife commented on GitHub (Sep 6, 2021):
I would also like to see this thanks.
@b10126 commented on GitHub (Sep 10, 2021):
I would also recommend this feature.
Today the ports are routed directly from the fritzbox to my Mailserver, which is not behind the proxy. The certificate is copied manually to the Mailserver, very manual. :-(
Or does anyone has a workaround?
Many thanks.....
@mpldr commented on GitHub (Oct 8, 2021):
I am using TCP Streams to forward to the ports bound to loopback. Unfortunately that does not seem to work with STARTTLS and I am not quite happy sending my credentials over the wire unencrypted.
@vincemd22 commented on GitHub (Dec 25, 2021):
Hello,
I am very interested in the function of proxymail
Is it possible to manually add an SSL on a stream on the current version of NPM ?
@chaptergy commented on GitHub (Dec 25, 2021):
@vincemd22 No, that's unfortunately not possible. The way streams work in nginx a stream can't do basically anything because it does not look at the body of a request. Streams work on the TCP / UDP, so protocol specific things like SSL can't be done there. SSL termination only work within the nginx http block (so normal proxy hosts in npm) or in a mail block, which does not exist in npm and is what this feature request is about.
@ahknight commented on GitHub (Dec 27, 2021):
Nginx can do it. mailu is a project that uses nginx as a TLS proxy for HTTP, SMTP, IMAP, and POP. Here's their config: https://github.com/Mailu/Mailu/blob/master/core/nginx/conf/nginx.conf
@chaptergy commented on GitHub (Dec 27, 2021):
@ahknight I said it is not possible using streams, as was the question. It is possible in general in nginx, just not in npm. It currently has no way to add servers inside a mail block, expect by mounting your own
mailblock into/data/nginx/custom/root.conf. (See custom mountpoints)@chaptergy commented on GitHub (Dec 27, 2021):
Also closing this in favor of https://github.com/jc21/nginx-proxy-manager/issues/1110, since it has more upvotes.