mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
ad51ffc365
ideally both account & admin web pages should be on non-public ips (e.g. a wireguard tunnel). but during setup, users may not have that set up, and they may want to configure the admin/account pages on their public ip's. the auth rate limiting should make it less of issue. users can now also only put the account web page publicly available. useful for if you're the admin and you have a vpn connection, but your other/external users do not have a vpn into your mail server. to make the account page more easily findable, the http root serves the account page. the admin page is still at /admin/, to prevent clash with potential account pages, but if no account page is present, you are helpfully redirected from / to /admin/. this also adds a prometheus metric counting how often auth attempts have been rate limited. |
||
---|---|---|
.. | ||
alignment.go | ||
analyze.go | ||
authresults.go | ||
authresults_test.go | ||
dnsbl.go | ||
dsn.go | ||
error.go | ||
fuzz_test.go | ||
limitwriter.go | ||
mx.go | ||
parse.go | ||
parse_test.go | ||
rejects.go | ||
reputation.go | ||
reputation_test.go | ||
server.go | ||
server_test.go |