You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/core
bors[bot] aea7407044
Merge #2646
2646: Smarter ratelimit r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Only account for **distinct** usernames in the IP rate-limiter.

This enables to have a much tighter default as a user with a misconfigured device will now only account for a single attempt.

The goal here is to make the rate-limiter more acceptable and to avoid people disabling it altogether.

### Related issue(s)

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [ ] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2 years ago
..
admin Merge #2646 2 years ago
base Upgrade to alpine 3.17.1 2 years ago
dovecot Let vacation plugin ignore envelope sender to avoid SRS recipient 2 years ago
nginx Missed some IF statements that must be modified for normalized config. 2 years ago
none Make setup use the base image 2 years ago
oletools Make olefy.py listen on all interfaces 2 years ago
postfix Skip listen to v6 when SUBNET6 is not set 2 years ago
rspamd Doh 2 years ago