On 2007-12-09 at 13:56 +0000, Phil White wrote: > warn > message = X-Info: Return = \ > ${lookup mysql { SELECT value FROM system WHERE \ > ip_addr=$acl_c5 } \ {$value}{0} \ > } > > Database that I am trying to access stores as decimal IP, and it is > going to be a pain to change
http://dev.mysql.com/doc/refman/5.0/en/other-functions.html INET_ATON($acl_c5) help you? -Phil -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/