Skip to content

feat: setup websockify - #1030

Draft
link2xt wants to merge 1 commit into
mainfrom
link2xt/websockify
Draft

feat: setup websockify#1030
link2xt wants to merge 1 commit into
mainfrom
link2xt/websockify

Conversation

@link2xt

@link2xt link2xt commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This change makes it possible
to connect the client over WebSocket.
Running websocat wss://example.org/imap
connects to the IMAP
and running websocat wss://example.org/smtp
connects to SMTP (submission service, not port 25).

Connecting from a web client will still need a CORS policy for clients not running on the same domain,
but for non-web clients this is already usable.

This change makes it possible
to connect the client over WebSocket.
Running `websocat wss://example.org/imap`
connects to the IMAP
and running `websocat wss://example.org/smtp`
connects to SMTP (submission service, not port 25).

Connecting from a web client will still need a CORS policy
for clients not running on the same domain,
but for non-web clients this is already usable.
@link2xt

link2xt commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

The next step is adding some support to the clients, with manual configuration for now. WebSocket can eventually phase out ALPN-based stream multiplexing, but i'm not removing it and it can coexist with websockets, there is no need to migrate existing users. Discovery of websockets, e.g. extending autoconfig XML or QR codes, is also left for the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant