Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Wietse Venema
Arnt Gulbrandsen: > De/composition are pushed to the DNS. The SMTP part just says: Convert to a > IDNA a-labels in order to do the MX lookup, and otherwise don't mess with > the bytes you received. (My patch uses ICU to convert to a-labels.) That is a mis-conception. DNS is not the only interfa

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Arnt Gulbrandsen
I want to digress about one aspect here: SMTP/EAI and unicode normalization. The general EAI approach to that is to avoid having the problem, ie. to define the SMTP/email extensions such that the problems become other people's problems. Homoglyphs aren't an SMTP problem. Two codepoints may l

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Arnt Gulbrandsen
On Wednesday, June 4, 2014 9:03:02 PM CEST, Matthias Andree wrote: Is Microsoft going to implement it? Microsoft has implemented it. They asked for interoperation testing earlier this week. IBM's Lotus Domino/Notes suites on the client end? No idea. Except that IBM has offices in Beijing

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Matthias Andree
Am 04.06.2014 19:48, schrieb Arnt Gulbrandsen: > Compliant SMTP servers only accept mail to/from EAI addresses if the > SMTP client uses the SMTPUTF8 form of the MAIL FROM command. The SMTP > client, in turn, only uses that form if the origin too used it. > > The purpose of this feature is to guar

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Arnt Gulbrandsen
On Wednesday, June 4, 2014 8:38:49 PM CEST, Wietse Venema wrote: I'll read the RFCs carefully and see where it allows UTF8 in SMTP command parameters and replies. You'll do that, but I'll tell you anyway: The client may use it once the server has issued an EHLO response containing SMTPUTF8, an

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Wietse Venema
Arnt Gulbrandsen: > On Wednesday, June 4, 2014 6:45:40 PM CEST, Wietse Venema wrote: > > You are missing the point. The internal SMTP client does not > > look up the recipient MX host. It just gives the mail to the > > perimeter gateway. > > > > Therefore, a non-EAI internal SMTP client can send an

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Arnt Gulbrandsen
On Wednesday, June 4, 2014 6:58:43 PM CEST, Viktor Dukhovni wrote: My impression is that UTF-8 domain names are are an MUA display format issue. There was tremedously tedious discussion of the approach you suggest, and of many others. There was even a set of experimental RFCs issued. In the e

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Arnt Gulbrandsen
On Wednesday, June 4, 2014 6:45:40 PM CEST, Wietse Venema wrote: You are missing the point. The internal SMTP client does not look up the recipient MX host. It just gives the mail to the perimeter gateway. Therefore, a non-EAI internal SMTP client can send an email reply to an EAI sender. I

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Viktor Dukhovni
On Wed, Jun 04, 2014 at 12:45:40PM -0400, Wietse Venema wrote: > > As far as I can tell the xn-- mumble is never used outside the DNS lookups, > > neither in the RFCs nor in practice. The EAI RFCs say to use the xn-- form > > for MX lookups, to use an ASCII domain name for the EHLO argument, and

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Wietse Venema
Arnt Gulbrandsen: > >>> Have you given any thought of what happens when a company installs > >>> Postfix-EAI on the perimeter, and WANTS TO FORWARD THE MAIL TO THEIR > >>> INTERNAL SYSTEMS that may or may not have EAI support? > >> > >> Yes. > > ... > >> Outgoing mail from that company to unicode

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Arnt Gulbrandsen
On Wednesday, June 4, 2014 3:23:24 PM CEST, Wietse Venema wrote: Arnt Gulbrandsen: On Wednesday, June 4, 2014 12:55:18 PM CEST, Wietse Venema wrote: ... Yes. We must maintain compatibility with existing practice. Postfix has always passed 8-bit headers and envelopes (localparts) for the past

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Wietse Venema
Arnt Gulbrandsen: > On Wednesday, June 4, 2014 12:55:18 PM CEST, Wietse Venema wrote: > > I have looked at parts of the patch in my copious time. > > I hoped someone else would ;) I do feel a little guilty about imposing on > you alone. > > > First, Postfix behavior must not change unless mail i

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Arnt Gulbrandsen
On Wednesday, June 4, 2014 12:55:18 PM CEST, Wietse Venema wrote: I have looked at parts of the patch in my copious time. I hoped someone else would ;) I do feel a little guilty about imposing on you alone. First, Postfix behavior must not change unless mail is flagged as EAI, regardless of

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Wietse Venema
Arnt Gulbrandsen: > Three weeks ago I wrote: > > at http://arnt.gulbrandsen.priv.no/tmp/postfix-eai-patch you > > will find a patch to add unicode email support to Postfix. The > > patch is relative to postfix-2.12-20140316. > > I see about ten people have downloaded the patch, but noone has sen

Re: Patch: Unicode email support (RFC 6531, 6532, 6533)

2014-06-04 Thread Arnt Gulbrandsen
Three weeks ago I wrote: at http://arnt.gulbrandsen.priv.no/tmp/postfix-eai-patch you will find a patch to add unicode email support to Postfix. The patch is relative to postfix-2.12-20140316. I see about ten people have downloaded the patch, but noone has sent mail to the autoresponder. I ta