mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:14:40 +03:00
make it possible to serve https on a different port than 443 through configuration
so you can run mox on openbsd with port redirects in pf.conf. in the future, starting as root, binding the sockets, and passing the bound sockets to a new unprivileged process should be implemented, but this should get openbsd users going. from discussion with mteege
This commit is contained in:
@ -66,6 +66,12 @@ describe-static" and "mox config describe-domains":
|
||||
# in such notification emails not arriving.
|
||||
ContactEmail:
|
||||
|
||||
# TLS port for ACME validation, 443 by default. You should only override this if
|
||||
# you cannot listen on port 443 directly. ACME will make requests to port 443, so
|
||||
# you'll have to add an external mechanism to get the connection here, e.g. by
|
||||
# configuring port forwarding. (optional)
|
||||
Port: 0
|
||||
|
||||
# File containing hash of admin password, for authentication in the web admin
|
||||
# pages (if enabled). (optional)
|
||||
AdminPasswordFile:
|
||||
@ -228,11 +234,23 @@ describe-static" and "mox config describe-domains":
|
||||
AutoconfigHTTPS:
|
||||
Enabled: false
|
||||
|
||||
# Serve MTA-STS policies describing SMTP TLS requirements, will use port 443.
|
||||
# Requires a TLS config. (optional)
|
||||
# TLS port, 443 by default. You should only override this if you cannot listen on
|
||||
# port 443 directly. Autoconfig requests will be made to port 443, so you'll have
|
||||
# to add an external mechanism to get the connection here, e.g. by configuring
|
||||
# port forwarding. (optional)
|
||||
Port: 0
|
||||
|
||||
# Serve MTA-STS policies describing SMTP TLS requirements. Requires a TLS config.
|
||||
# (optional)
|
||||
MTASTSHTTPS:
|
||||
Enabled: false
|
||||
|
||||
# TLS port, 443 by default. You should only override this if you cannot listen on
|
||||
# port 443 directly. MTA-STS requests will be made to port 443, so you'll have to
|
||||
# add an external mechanism to get the connection here, e.g. by configuring port
|
||||
# forwarding. (optional)
|
||||
Port: 0
|
||||
|
||||
# Destination for emails delivered to postmaster address.
|
||||
Postmaster:
|
||||
Account:
|
||||
|
Reference in New Issue
Block a user