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>master
commit
47a40d17b7
@ -0,0 +1 @@
|
||||
Support domain literals
|
Loading…
Reference in New Issue