2210: Add input validation for domain creation r=mergify[bot] a=0pc0deFR
## What type of PR?
bug-fix
## What does this PR do?
This patch add the input validation for domain creation.
### Related issue(s)
- Mention an issue like: #1817
- Auto close an issue like: closes#1817
Co-authored-by: Kevin Falcoz <0pc0defr@gmail.com>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2275: Fix2274: Inbound emails are rejected r=mergify[bot] a=nextgens
## What type of PR?
bug-fix
## What does this PR do?
Fix email reception
### Related issue(s)
- closes#2274
## Prerequisites
No documentation as this affects only people running master since yesterday
Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2265: Prevent an exception from being thrown if the username isn't an email address r=mergify[bot] a=nextgens
## What type of PR?
enhancement
## What does this PR do?
Mailu expects users to identify using an email address; some brute-force script don't send just an username and this leads to an exception... that makes the error message and return code vary.
This PR prevents the exceptions from being thrown in the first place
```
WARNING in nginx: Invalid user 'xxxx': (builtins.ValueError) invalid email address (no "`@")"`
```
### Related issue(s)
- closes#2261
- closes#1750
Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>