I didn't find any mentions on supporting SMTPUTF8 extension. Haraka already supports 8BITMIME so SMTPUTF8 would be a great addition to this.
It is mostly needed to support Email Address Internationalization (EAI) email addresses where both user and domain part can contain non-latin characters. Without SMTPUTF8 it is only possible to use the A-label formatted IDN domains (xn--...) but no way to use non-latin characters in user part.
What needs to be changed to support SMTPUTF8:
- The server should add SMTPUTF8 as one of the supported extensions
S: 250-Macintosh.lan Hello Unknown [::1], Haraka is at your service.
S: 250-PIPELINING
S: 250-8BITMIME
S: 250 SMTPUTF8 <-- new keyword
- The server must switch to unicode mode if the client uses SMTPUTF8 keyword with MAIL FROM
Without SMTPUTF8 keyword:
C: MAIL FROM:<[email protected]>
S: 250 sender <[email protected]> OK
C: RCPT TO:<андрис@уайлддак.орг>
S: 552 Syntax error (8-bit characters not allowed)
With SMTPUTF8 keyword:
C: MAIL FROM:<[email protected]> SMTPUTF8
S: 250 Accepted
C: RCPT TO:<андрис@уайлддак.орг>
S: 250 recipient <андрис@уайлддак.орг> OK
If SMTPUTF8 keyword is used then UTF8 encoded addresses should be allowed to use with both MAIL FROM and RCPT TO commands.
I don't know much about Haraka internals, so I don't know if this would be something simple or difficult to implement. If it would be too hard to implement in the short term, then maybe you'd take it into the long term plans? I'm pretty sure that EAI addresses are the future.
The email address андрис@уайлддак.орг is a working address. I host it in my IMAP server Wild Duck. Currently I have a my own SMTP server instance running as MX but I would rather use Haraka for this.
I didn't find any mentions on supporting SMTPUTF8 extension. Haraka already supports 8BITMIME so SMTPUTF8 would be a great addition to this.
It is mostly needed to support Email Address Internationalization (EAI) email addresses where both user and domain part can contain non-latin characters. Without SMTPUTF8 it is only possible to use the A-label formatted IDN domains (xn--...) but no way to use non-latin characters in user part.
What needs to be changed to support SMTPUTF8:
Without SMTPUTF8 keyword:
With SMTPUTF8 keyword:
If SMTPUTF8 keyword is used then UTF8 encoded addresses should be allowed to use with both MAIL FROM and RCPT TO commands.
I don't know much about Haraka internals, so I don't know if this would be something simple or difficult to implement. If it would be too hard to implement in the short term, then maybe you'd take it into the long term plans? I'm pretty sure that EAI addresses are the future.
The email address андрис@уайлддак.орг is a working address. I host it in my IMAP server Wild Duck. Currently I have a my own SMTP server instance running as MX but I would rather use Haraka for this.