Re: [exim] Problem with match expansion

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tony Finch
Fecha:  
A: Stian Jordet
Cc: Exim Mailing List
Asunto: Re: [exim] Problem with match expansion
On Fri, 18 Nov 2005, Stian Jordet wrote:
>
> I'm trying to check in an acl wether the sending host is a mx for the
> domain. To test, I have tried this:
>
> message = X-HostIsMX: ${if match{${lookup dnsdb{>: a=${lookup dnsdb{>: \
>    mxh=$domain}}}}}{$sender_host_address}{yes}{no}}

>
> But this won't work.


What does exim -d+expand say?

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}