Re: SQL and apostrophes in localparts

2012-01-27 Thread /dev/rob0
On Fri, Jan 27, 2012 at 12:54:46PM -0500, Wietse Venema wrote: /dev/rob0: Postfix 2.9.0-RC2, trying to send to an external address with an apostrophe: rob0@chestnut:~$ fortune -o | mail -so Joe's@example.net rob0@chestnut:~$ mailq Queue ID- --Size-- ---Arrival Time

Re: SQL and apostrophes in localparts

2012-01-27 Thread Wietse Venema
Try this patch. Wietse *** ./dict_sqlite.c-Fri Jan 13 17:24:39 2012 --- ./dict_sqlite.c Fri Jan 27 14:45:59 2012 *** *** 109,115 /* Fix 20100616 */ if (quoted_text == 0) msg_fatal(dict_sqlite_quote: out of memory); ! vstring_strcat(result,