Re: [exim] Problem with match expansion

Top Page
Delete this message
Reply to this message
Author: Stian Jordet
Date:  
To: exim-users
Subject: Re: [exim] Problem with match expansion
fre, 18,.11.2005 kl. 15.29 +0100, skrev Stian Jordet:
> fre, 18,.11.2005 kl. 10.15 +0000, skrev Tony Finch:
> > 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?


[snip]

I did of course paste the wrong part. But what's most embarrassing is
that I sent from a host that wasn't a mx for the domain. Which I thought
it was :P Sorry, but thanks for your help :)

Best regards,
Stian