Michael Monnerie wrote: > Yesterday I saw this error again: > > Error:[sql] dbpgsql.c,db_query(+287): query failed [INSERT INTO > dbmail_tofield (physmessage_id, toname, toaddr) VALUES > (2283941,'','"مهند??335?UTF-8?q?ح376tf-8?QD9=85?=اد > <[email protected]>')] : [ERROR: invalid byte sequence for > encoding "UTF8": 0xdd3f HINT: This error can also... > > Seems dbmail is to blame here, it really must encode the headers > correctly before trying to insert them. Or did I miss something? This is > v2.2.11
In this case, the toaddr value doesn't look like an address at all. This is a garbage-in/garbage-out result where even gmime is unable to properly decode an address. Yes, we can add an additional encoding run before inserting broken addresses, but maybe we should simply drop such addresses from the cache... -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
