Comment on Using NGINX as a stream proxy
Zikeji@programming.dev 1 year ago
What you’re looking for is a reverse proxy, or in this case, a TCP reverse proxy. I believe only NGINX plus (paid?) supports that. You’re probably better off using haproxy.
I haven’t done it so I can’t help in that front, but I found this: linuxbabe.com/…/smtp-imap-proxy-with-haproxy-debi…
Which is close to your scenario (I just looked at the first result). Otherwise the search term “haproxy imap” or “haproxy mail server” may help you find something, maybe throwing in wireguard or VPN.
housepanther@lemmy.goblackcat.com 1 year ago
Thank you! It never occurred to me to consider haproxy to do something like this and I think it is exactly what I am looking for. It’s definitely worth further exploration. My subscription for email service is about to run out and I’d rather not pay for something I don’t have to.
derin@lemmy.beru.co 1 year ago
Just so you know, running an email service isn’t as easy as you think. You’ll most likely deal with a lot of blocks from Gmail and the rest.
housepanther@lemmy.goblackcat.com 1 year ago
I realize this could be a possibility. I don’t think it is going to be easy but I’ll give it a shot.