On Wednesday, June 11, 2014 6:54:19 PM CEST, Wietse Venema wrote:
That is not the question. It's not about CUSTOMERS with an alien
script, It is about REMOTE SENDERS/RECEIVERS with domains in chinese
script. How does the russian adminstrator view/manage the mail
queue, how does he/she set/view/use rules in smtpd_mumble_restrictions.

The last question, in other words.

I think the russian admin needs to choose how a command will render
domain names in access maps, address rewriting, mailq output.  UTF8
would be best for domain names in russian script, and ASCII would
be best for domains in chinese script. That will involve one
command-line option for postmap, postqueue, etc.

Hm... doable, I think.

Unicode is organized as blocks. (Most blocks aren't quite full, and new characters are added occasionally, e.g. the euro symbol to the block Currency Symbols.) What you're suggesting is that if a string uses only the user-specified unicode blocks, use UTF8, otherwise, xn--mumble. For Russian that would be Basic Latin, Basic Cyrillic and Cyrillic Supplement. For German it would be Basic Latin, Latin-1 Supplement, Latin Extended Additional and Currency Symbols.

I suppose the only way is to define aliases. "Cyrillic" for Basic Latin and the various cyrillic blocks, etc. Perhaps 50-100 aliases in all. Doable, and the utility function to check whether a string matches a supplied alias is easy.

I don't see the point, though.

Arnt

Reply via email to