Re: [Exim] LDAP lookup in rewrite rule (Exim 3.33)

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Oliver Egginger
Cc: exim-users
Asunto: Re: [Exim] LDAP lookup in rewrite rule (Exim 3.33)
On Thu, 11 Apr 2002, Oliver Egginger wrote:

> errors_to = ${lookup ldap {ldap://mailserv.fh-giessen.de/o=FH%20Giessen,c=DE?errorsTo?sub?(&(cn=$local_part)(objectclass=rfc822mailgroup))} {$value} {postmaster}}
>
> It's working perfectly for years (since Exim 2), without quotes.
> So I was thinking I could port this expression simply to the header_rewrite setting in one of my mailman list transports.
>
> headers_rewrite = *@*fh.giessen.de "${lookup ldap {ldap://mailserv.fh-giessen.de/ou=groups,o=FH%20Giessen,c=DE?cn?sub?(mail=$local_part*)}{$value@???}fail}" t


Doh!

I've just woken up. headers_rewrite is a *list*. By default, the list
separator is a colon. Does that give you enough clue? :-)

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