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}}
--
## 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/