Re: [Exim] LDAP lookup query in address rewrite

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Griffiths M (ISeLS)
Kopio: 'exim-users@exim.org'
Aihe: Re: [Exim] LDAP lookup query in address rewrite
On Thu, 7 Aug 2003, Griffiths M (ISeLS) wrote:

> I include below what I've been testing but I'm only getting failures such
> as:
>
> 2003-08-07 14:40:09 Exim configuration error in line 463:
> unknown rewrite flag character 'e' (could be missing quotes round
> replacement item)
>
> The lookup is of the form:
>
> *@glam.ac.uk ${lookup ldap {ldap:///....?displayName?sub?\
>
> (saMAccountName=$local_part)}}{$value}fail}@??? Ffr
>
> I know this needs to be "quoted" but I'm not sure where they need to sit or
> indeed
> if the whole thing is permissible.


The error message says it all. You need quotes round the replacement
item. That is

*@glam.ac.uk    "......"    Ffr





--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book