Keeping chatmail relays reachable when they are blocked: signed relay paths and shared proxy links

Hm yes, I think there is a catch, so my idea needs polishing (or clarification). The thing is that Delta Chat would be responsible for TLS, so I believe the TLS server would have act the same way for all the different ways one can connect to it over TCP, so that this connection redirection is not treated by the TLS client as a MITM.

Otherwise things should work fine, setting up a local SOCKS5 listener and connecting Delta Chat to it should work I believe.

Currently a Delta Chat profile can have up to 5 relays. They are not added/rotated automatically (see related topic Anti-censor relays distribution).
Currently Delta Chat listens on all relays at the same time.

Personal opinion: turning Chatmail relays into something completely ephemeral, something to automatically rotate every day or hour, for the purposes of censorship circumvention, is not something that Delta Chat should go for. At least right now it doesn’t seem like something that’s one small step away. That would basically mean reinventing Tor or Snowflake, except worse because you can only use this for Delta Chat but not to browse the internet.

BTW automatic rotation would be possible to do with, again, third-party software, if Delta Chat exposed its JSON-RPC server (API).