James Cloos via Postfix-users:
> JC>> There is a current thread on one of the debian groups which noted that
> JC>> usernames also are not limited to ascii.
> 
> WV> Pointer to discussion thread, please?
...
> this is the 1st message in the thread:
> https://lists.debian.org/debian-devel/2024/11/msg00250.html

I presume that you are talking about encoding email address localparts
(sender, recipient) in the headers when messages are submitted with
/usr/sbin/sendmail.

In that case, why not just leave those addresses as UTF8? If an
envelope sender or recipient is non-ASCII, then one has to use
SMTPUTF8 anyway, even if it is because of a non-ASCII localpart.

If, on the other hand, the idea is to also encode-to-ASCII the
envelope address localparts upon submission, and to decode-to-UTF8
them upon delivery, then MTAs and MDAs would have to deal with every
plausible ASCII encoding of an UTF8 localpart (the MTA needs to
validate known recipients or the existence of aliases; the MDA needs
to look up aliases, $HOME/.forward files, and mailbox files, or
whatever the IMAP server's equivalents are).

This mess can be avoided by not having to decode-to-UTF8 a header
or envelope address. Welcome to the future.

While I was waiting for your pointer, I stumbled upon
https://mailarchive.ietf.org/arch/msg/ima/CCLng4fMEUQxSWfqwDfAUPpnpdM/
which is more focused on email than on user management. This has
an inventory of how diverse contemporary MUAs encoded UTF8 localparts
to ASCII.

Here is also a response that seems to agree to not decode-to-UTF8
in transit or upon delivery, in
https://mailarchive.ietf.org/arch/msg/ima/zpAX86S_561mOzhZWk5lDL7wBfo/

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to