Re: [Exim] senders

Top Pagina
Delete this message
Reply to this message
Auteur: Aaron Anderson
Datum:  
Aan: Philip Hazel
CC: exim-users, Matt Bernstein
Nieuwe Onderwerpen: Re: [Exim] FIXED - senders!
Onderwerp: Re: [Exim] senders
Ok.....I can't get sg to work so I thought I would start from scratch.

Here is the base query that I am running:
senders = ${lookup
ldap{ldap:///echoMailList=${local_part},dc=${domain},ou=vdomains,o=top?echoMailRoutingAddress}}

I run "exim -t -f cypher_key@??? -d9" and ere is a sniplet of
the log:

calling ldap_list director
search_open: ldap "NULL"
search_find: file="NULL"
key="ldap:///echoMailList=testlist,dc=echostar.ca,ou=vdomains,o=top?echoMailRoutingAddress"
partial=-1
LRU list:
7/etc/aliases
End
internal_search_find: file="NULL"
type=ldap
key="ldap:///echoMailList=testlist,dc=echostar.ca,ou=vdomains,o=top?echoMailRoutingAddress"
database lookup required for
ldap:///echoMailList=testlist,dc=echostar.ca,ou=vdomains,o=top?echoMailRoutingAddress
LDAP parameters: user=NULL pass=NULL size=0 time=0
perform_ldap_search: ldap URL
="ldap:///echoMailList=testlist,dc=echostar.ca,ou=vdomains,o=top?echoMailRoutingAddress"
server=NULL port=0 sizelimit=0 timelimit=0
Re-using cached connection to LDAP server NULL:389
Start search
ldap_result loop
LDAP entry loop
LDAP attr loop echoMailRoutingAddress:cypher_key@???
LDAP attr loop echoMailRoutingAddress:encrypted@???
search ended by ldap_result yielding 101
LDAP search: returning: cypher_key@???, encrypted@???
lookup yielded: cypher_key@???, encrypted@???
cypher_key@??? in cypher_key@???,
encrypted@???? no (end of list)
ldap_list director: sender match failure

Obviously I am pulling the proper information from the directory. The
lookup is yielding the 2 email addresses and the senders address is in
that list, however it is failing to match it.

How do I get Exim to realise that the senders address is in the
returned list?

thanks,

Aaron



Quoting Philip Hazel <ph10@???>:

> 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.

>
>



-------------------------------------------------
Secure Webmail sent through: webmail.echostar.ca