mox/http
Mechiel Lukkien 9b57c69c1c
implement limits on outgoing messages for an account
by default 1000 messages per day, and to max 200 first-time receivers.
i don't think a person would reach those limits. a compromised account abused
by spammers could easily reach that limit. this prevents further damage.

the error message you will get is quite clear, pointing to the configuration
parameter that should be changed.
2023-03-29 09:36:06 +02:00
..
account.go make http(s) path for serving the account and admin pages configurable 2023-03-12 11:52:15 +01:00
account.html explain to user they should pick a random, unguessable password 2023-02-27 21:29:27 +01:00
account_test.go deprecate having only localparts in an Account's Destinations, it should always be a full email address 2023-03-09 22:13:56 +01:00
accountapi.json make http(s) path for serving the account and admin pages configurable 2023-03-12 11:52:15 +01:00
admin.go implement limits on outgoing messages for an account 2023-03-29 09:36:06 +02:00
admin.html implement limits on outgoing messages for an account 2023-03-29 09:36:06 +02:00
admin_test.go change mox to start as root, bind to network sockets, then drop to regular unprivileged mox user 2023-02-27 12:19:55 +01:00
adminapi.json implement limits on outgoing messages for an account 2023-03-29 09:36:06 +02:00
autoconf.go make it easier to run with existing webserver 2023-03-04 00:49:02 +01:00
autoconf_test.go mox! 2023-01-30 14:27:06 +01:00
import.go change mox to start as root, bind to network sockets, then drop to regular unprivileged mox user 2023-02-27 12:19:55 +01:00
mtasts.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00
mtasts_test.go mox! 2023-01-30 14:27:06 +01:00
web.go set timeouts for webserver, for idle connections and reading http request header 2023-03-28 17:16:05 +02:00
web_test.go make http(s) path for serving the account and admin pages configurable 2023-03-12 11:52:15 +01:00
webserver.go do not generate http status 502 for canceled http requests 2023-03-21 09:25:49 +01:00
webserver_test.go for WebRedirect, don't "match" when the destination URL has the same scheme,host,path, for doing http -> https redirects without loops 2023-03-08 23:29:44 +01:00