On 15/03/06, Silmar A. Marca <[EMAIL PROTECTED]> wrote:
> I need to use match_ip to search ips of interfaces.
>
> In example:
> srs_condition = ${if match_ip {$interface_address} {\
> ${lookup dnsdb{>: defer_never,a=\
> ${lookup dnsdb{>:
> defer_never,mxh=$domain}{$value}{}}\
> }{$value}{}}\
> } {no}{yes}}
>
>
> The $interface_address is 127.0.0.1 if i use webmail. I need to check all
> interfaces. I try to use @[], but it dont run.
>
> I need to check if destination of email MX is local server...
Have you tried the magic @mx_any for this?
Peter
--
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]
VoIP: [EMAIL PROTECTED]
FWD: **275*5048707000
VoipTalk: **473*5048707000
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/