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/towncrier/newsfragments
bors[bot] 47a40d17b7 Merge #1088
1088: Support domain literals (fix #1087) 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 #1087

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