mailu/towncrier/newsfragments
bors[bot] 47a40d17b7 Merge
1088: Support domain literals (fix ) r=mergify[bot] a=hoellen

## What type of PR?
bug-fix

## What does this PR do?
This PR adds error handling for idna enocding. With telnet you now get a "Bad sender address syntax"  message.

```
> telnet mail.example.com 25

Connected to example.com.
Escape character is '^]'.
220 mail.example.com ESMTP ready
EHLO dummy.example.com
250-mail.example.com
250 STARTTLS
MAIL FROM: does-not-exist@[116.203.165.200]
250 2.0.0 OK
RCPT TO: some-user@example.com
501 5.1.7 Bad sender address syntax
Connection closed by foreign host.
```


### Related issue(s)
fix 

## Prerequistes
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.

- [x] 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/guide.html#changelog) entry file.


Co-authored-by: hoellen <dev@hoellen.eu>
..
820.bugfix Use ldez/traefik-certs-dumper in certificate dumper, and make more robust
867.bugfix Make aliases case-insensitive (too)
891.feature Update fetchmail to selfbuilt 7.0.0-alpha
916.doc fix destination of changelog file ()
958.feature Add authentication for email relays
988.feature add sidebar toggle button
1009.misc move changelog to the right directory
1049.feature Add towncrier newsfragments
1051.feature Add towncrier newsfragments
1066.feature Update password in commandline
1070.feature update changelog
1071.feature update changelog
1075.bugfix Create 1075.bugfix
1082.feature Update changelog
1083.bugfix Allow subnet with host bit set in setup
1087.bugfix Support domain literals for receiving emails