mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 09:54:40 +03:00
Add support for negotiating IMAP and SMTP on the HTTPS port 443 using TLS ALPN "imap" and "smtp"
Intended for future use with chatmail servers. Standard email ports may be blocked on some networks, while the HTTPS port may be accessible. This is a squashed commit of PR #255 by s0ph0s-dog.
This commit is contained in:
@ -287,6 +287,14 @@ See https://pkg.go.dev/github.com/mjl-/sconf for details.
|
||||
# Default 465. (optional)
|
||||
Port: 0
|
||||
|
||||
# Additionally enable submission on HTTPS port 443 via TLS ALPN. TLS Application
|
||||
# Layer Protocol Negotiation allows clients to request a specific protocol from
|
||||
# the server as part of the TLS connection setup. When this setting is enabled and
|
||||
# a client requests the 'smtp' protocol after TLS, it will be able to talk SMTP to
|
||||
# Mox on port 443. This is meant to be useful as a censorship circumvention
|
||||
# technique for Delta Chat. (optional)
|
||||
EnabledOnHTTPS: false
|
||||
|
||||
# IMAP for reading email, by email applications. Starts out in plain text, can be
|
||||
# upgraded to TLS with the STARTTLS command. Prefer using IMAPS instead which is
|
||||
# always a TLS connection. (optional)
|
||||
@ -308,6 +316,14 @@ See https://pkg.go.dev/github.com/mjl-/sconf for details.
|
||||
# Default 993. (optional)
|
||||
Port: 0
|
||||
|
||||
# Additionally enable IMAP on HTTPS port 443 via TLS ALPN. TLS Application Layer
|
||||
# Protocol Negotiation allows clients to request a specific protocol from the
|
||||
# server as part of the TLS connection setup. When this setting is enabled and a
|
||||
# client requests the 'imap' protocol after TLS, it will be able to talk IMAP to
|
||||
# Mox on port 443. This is meant to be useful as a censorship circumvention
|
||||
# technique for Delta Chat. (optional)
|
||||
EnabledOnHTTPS: false
|
||||
|
||||
# Account web interface, for email users wanting to change their accounts, e.g.
|
||||
# set new password, set new delivery rulesets. Default path is /. (optional)
|
||||
AccountHTTP:
|
||||
|
Reference in New Issue
Block a user