Re: [Exim] senders

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Aaron Anderson
CC: exim-users, Matt Bernstein
Subject: Re: [Exim] senders
On Tue, 23 Jul 2002, Aaron Anderson wrote:

> I changed it to the following:
>
> ${sg{${lookup
> ldap{ldap:///echoMailList=${local_part},dc=${domain},ou=vdomains,o=top?echoMailRoutingAddress}}{,}{:}}}
>
> and I get : missing or misplaced { or }.


Let me analize that...

${sg{
     ${lookup ldap
        {ldap:///echoMailList=${local_part},dc=${domain},ou=vdomains,
         o=top?echoMailRoutingAddress}
      }


There's a } missing here, to terminate the first argument of ${sg.

      {,}{:}}}


There are too many }'s at the end. Try moving one } from the end to just
before {,}.

> ${sg ${lookupldap{ldap:///echoMailList=${local_part},dc=${domain},ou=vdomains,o=top?echoMailRoutingAddress}}{,}{:}}

      ^
      ^
That one is missing a { there.


> ${sg ${lookup
> ldap{ldap:///echoMailList=${local_part},dc=${domain},ou=vdomains,o=top?echoMailRoutingAddress}}{,}{:}}


So is that one.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.