Re: mysql lookup table and utf8

2016-09-24 Thread John Fawcett
On 09/19/2016 12:50 AM, Wietse Venema wrote: > John Fawcett: >>> Care to post a patch for src/global/dict_mysql.c? Do you >>> think that the "prog_name" should be configurable? Perhaps >>> allowing different Postfix instances to run with different >>> settings? Or would a fixed name like

Re: mysql lookup table and utf8

2016-09-24 Thread Wietse Venema
John Fawcett: > Looking into it further, most of the code was already there and the > fix is a simple one liner + documentation updates. > In this fix I have not used a hard coded group of [postfix] as I had > imagined above, but followed the way that dovecot is doing this. > The default group is

Re: Make Posfix Small Business

2016-09-24 Thread Wietse Venema
Sean Greenslade: > On Fri, Sep 23, 2016 at 07:25:26PM -0300, Rodrigo Cunha wrote: > > Message in ingles: > > Hello Julio, i want to create a product with postfix...but i dont know if > > this product is easy to sell.I think create a mail relays for mailmarketing > > products.Usualli my local

Re: mysql lookup table and utf8

2016-09-24 Thread Wietse Venema
Wietse Venema: > John Fawcett: > > Looking into it further, most of the code was already there and the > > fix is a simple one liner + documentation updates. > > > In this fix I have not used a hard coded group of [postfix] as I had > > imagined above, but followed the way that dovecot is doing

Re: mysql lookup table and utf8

2016-09-24 Thread John Fawcett
On 09/24/2016 03:52 PM, Wietse Venema wrote: > Wietse Venema: >> Looks good (I'll fix typos). It works with the system by using what oops, thanks for picking that up. > Before I forget, did you verify that: > > - The 'old' code reproduces the problem (postmap -q fails to look > up a database key

Re: mysql lookup table and utf8

2016-09-24 Thread John Fawcett
On 09/24/2016 05:18 PM, John Fawcett wrote: > I have also looked at the latest mysql > 5.7.15 source and it does the same thing. > see mysql_read_default_options in mysql-5.7.15/sql-common/client.c > groups[0]= (char*) "client"; groups[1]= (char*) group; groups[2]=0; I opened a bug report

Re: mysql lookup table and utf8

2016-09-24 Thread Wietse Venema
Wietse: > Before I forget, did you verify that: > > - The 'old' code reproduces the problem (postmap -q fails to look > up a database key that contains UTF8) and the 'new' code fixes it. John Fawcett: > The fix is not specifically about utf8 lookups, but for the issue > that Postfix was not