Re: [exim] Decimal IP Calculation

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Phil White
CC: exim-users
Subject: Re: [exim] Decimal IP Calculation
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