Re: [exim] dnsdb

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marc Perkel
Data:  
Para: Steve Sargent
CC: exim-users
Assunto: 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}}