Re: [exim] dnsdb

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Marc Perkel
Data:  
Para: Steve Sargent
CC: exim-users
Asunto: Re: [exim] dnsdb


Steve Sargent wrote:
> Does anyone have an example of using a dnsdb lookup in an ACL condition
> of this sort:-
>
> condition = ${if and {\
>                  ....... dnsdb a=
>                  ....... dnsdb mx=

>
>
>


Here's one I use:

    condition = ${if and {\
                    {eqi {${lookup 
dnsdb{a=$sender_address_domain}{$value}{NONE}}}{NONE}}\
                    {eqi {${lookup 
dnsdb{mx=$sender_address_domain}{$value}{NONE}}}{NONE}}\
                    }\
                    {yes}{no}}