mox/imapserver
Mechiel Lukkien ad51ffc365
make account web page configurable separately from admin, add http auth rate limiting
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.
2023-02-13 13:53:47 +01:00
..
append_test.go mox! 2023-01-30 14:27:06 +01:00
authenticate_test.go support cram-md5 authentication for imap and smtp 2023-02-05 16:29:03 +01:00
copy_test.go improve training of junk filter 2023-02-11 23:00:12 +01:00
create_test.go mox! 2023-01-30 14:27:06 +01:00
delete_test.go mox! 2023-01-30 14:27:06 +01:00
error.go mox! 2023-01-30 14:27:06 +01:00
expunge_test.go mox! 2023-01-30 14:27:06 +01:00
fetch.go mox! 2023-01-30 14:27:06 +01:00
fetch_test.go mox! 2023-01-30 14:27:06 +01:00
fuzz_test.go mox! 2023-01-30 14:27:06 +01:00
idle_test.go mox! 2023-01-30 14:27:06 +01:00
list.go mox! 2023-01-30 14:27:06 +01:00
list_test.go mox! 2023-01-30 14:27:06 +01:00
lsub_test.go mox! 2023-01-30 14:27:06 +01:00
move_test.go mox! 2023-01-30 14:27:06 +01:00
pack.go add two new log levels for tracing sensitive auth protocol messages, and bulk data messages 2023-02-03 20:33:19 +01:00
parse.go mox! 2023-01-30 14:27:06 +01:00
prefixconn.go mox! 2023-01-30 14:27:06 +01:00
protocol.go mox! 2023-01-30 14:27:06 +01:00
protocol_test.go mox! 2023-01-30 14:27:06 +01:00
rename_test.go mox! 2023-01-30 14:27:06 +01:00
search.go mox! 2023-01-30 14:27:06 +01:00
search_test.go mox! 2023-01-30 14:27:06 +01:00
selectexamine_test.go mox! 2023-01-30 14:27:06 +01:00
server.go make account web page configurable separately from admin, add http auth rate limiting 2023-02-13 13:53:47 +01:00
server_test.go slow down connections for spammy deliveries, and too many failed authentications, and sleep for 15 seconds before delivering messages by first-time senders 2023-02-08 21:45:32 +01:00
starttls_test.go mox! 2023-01-30 14:27:06 +01:00
status_test.go mox! 2023-01-30 14:27:06 +01:00
store_test.go mox! 2023-01-30 14:27:06 +01:00
subscribe_test.go mox! 2023-01-30 14:27:06 +01:00
unselect_test.go mox! 2023-01-30 14:27:06 +01:00
unsubscribe_test.go mox! 2023-01-30 14:27:06 +01:00
utf7.go mox! 2023-01-30 14:27:06 +01:00
utf7_test.go mox! 2023-01-30 14:27:06 +01:00