Re: [exim] Problem with match expansion

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Stian Jordet
Υ/ο: Exim Mailing List
Αντικείμενο: 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}}