Re: [exim] Ips of interfaces

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: exim users
Assumpte: Re: [exim] Ips of interfaces
On 15/03/06, Silmar A. Marca <marca@???> 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: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???
VoIP: *5048707000@???
FWD: **275*5048707000
VoipTalk: **473*5048707000