12
Using NGINX as a stream proxy (lemmy.goblackcat.com)

Hello fellow self-hosters. Is it possible to use NGINX as a proxy for an IMAP service where the IMAP server is located on a different host? I have a cloud VPS running NGINX which is connected to my home network via a WireGuard tunnel. What I would like to do is run the IMAP server (Dovecot) in my own network and have NGINX proxy the connection. I have tried doing searches based on this but the examples don't show how to specify the IMAP server for the connection to be redirected to for the lack of a better phrase. I know streaming is possible. Would this be the way to do?

I would love an example to go on. Thanks very much!

you are viewing a single comment's thread
view the rest of the comments
[-] ratz@chatsubo.hiteklolife.net 3 points 3 years ago

Yeah I shell out ~$3 per month for the privilege of indulging in the insanity of self hosting email.

[-] housepanther@lemmy.goblackcat.com 2 points 3 years ago

Right now I pay 15.00 a year for email through Zoho and it works really well so maybe it is folly for me to change it up. It's more the principle of having to pay for email chaps at my ass when I have the technical know-how to do it myself. But Zoho is probably not selling my data since I am a paid member.

[-] ratz@chatsubo.hiteklolife.net 1 points 3 years ago

It really comes down to what value you assign to having private email storage.. unless you're having GPG encrypted convos, its probably pretty moot anyway as one side is going to have a copy of the email trail and theres a 98% probability its google, microsoft or ...yahoo I guess?

I might be talking myself out of this, this is now a therapy session

this post was submitted on 19 Jul 2023
12 points (61.5% liked)

Selfhosted

61877 readers
798 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS