> query_alias select COALESCE(destination, REPLACE(maddr, '@', > '_')), ? as maddr from mail_forwarding where source=maddr;
And of course I was a bit too fast with this one (column aliases can't be used in other columns), so if something should work it would be: query_alias SET @maddr = ?; SELECT COALESCE(destination, REPLACE(@maddr, '@', '_')) from mail_forwarding where source=@maddr; I've tested this one as a proof of concept, yet not in an table_mysql.conf setup. I am curious if this works, so keep me posted. :) -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
