Giter Club home page Giter Club logo

Comments (14)

emersion avatar emersion commented on May 15, 2024 4

Depends if you control completely the server, e.g. if it's in your home on your hardware.

from hydroxide.

emersion avatar emersion commented on May 15, 2024 1

No, a plain TLS proxy should work as well. Just need to configure your email clients to use TLS instead of STARTTLS.

from hydroxide.

jeroenev avatar jeroenev commented on May 15, 2024

wouldn't this completely kill the privacy and security benefits from using a service like Protonmail?

from hydroxide.

jvkdoodle avatar jvkdoodle commented on May 15, 2024

I would like to have a bridge that I can access over a VPN connection. So I can use a different mail client on my iPhone and iPad rather than the protonmail app.

So far I get SMTP to work but not IMAP.

Neither with Hydroxide or the original bridge.

I tried doing a reverse SSH tunnel mapping the port to the VPN server that way... for SMTP this works but IMAP does not.

from hydroxide.

bram-dingelstad avatar bram-dingelstad commented on May 15, 2024

+1 on this

from hydroxide.

jordan31bit avatar jordan31bit commented on May 15, 2024

Besides the TLS/StartTLS, I thought deploying it on a server to be remotely accessed was already a possibility.

from hydroxide.

emersion avatar emersion commented on May 15, 2024

Yes, this already works. But right now you'll need to setup a proxy to wrap connections with TLS if you want to access the server remotely.

from hydroxide.

jordan31bit avatar jordan31bit commented on May 15, 2024

Oh, thanks! This would be why I'm having issues connecting remotely.

from hydroxide.

arichtman avatar arichtman commented on May 15, 2024

Re the reverse proxy offload of TLS - I think it can only be one that supports STARTTLS or has some kind of advanced features. I've been digging around trying to get Traefik to work and it seems only Nginx is capable of reverse proxy for IMAP and SMTP.

from hydroxide.

tgunnoe avatar tgunnoe commented on May 15, 2024

How does one use such a plain TLS proxy? I'm looking to route a sourcehut smtp through hydroxide, but sourcehut expects a STARTTLS response. Running on the same server so nothing fancy.

from hydroxide.

arichtman avatar arichtman commented on May 15, 2024

How does one use such a plain TLS proxy? I'm looking to route a sourcehut smtp through hydroxide, but sourcehut expects a STARTTLS response. Running on the same server so nothing fancy.

If they're on the same server and you're confident it's secure then you don't need TLS. TLS on the same host is only to protect from other applications snooping on your messages. If it's not routing through the open web it's not exposed. Are you saying sourcehut doesn't support plain SMTP (no TLS)? If that's the case then you'll need a STARTTLS-capable reverse proxy.

from hydroxide.

tgunnoe avatar tgunnoe commented on May 15, 2024

smtplib.SMTPNotSupportedError: STARTTLS extension not supported by server.
It uses smtplib of python and part of the initial connection to the smtp mail server is smtp.starttls() https://git.sr.ht/~sircmpwn/core.sr.ht/tree/master/item/srht/email.py#L118

from hydroxide.

arichtman avatar arichtman commented on May 15, 2024

Looks like you are going to need a reverse proxy running TCP TLS termination. These look pretty on point

from hydroxide.

tgunnoe avatar tgunnoe commented on May 15, 2024

Thanks! I'll check them out.

from hydroxide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.