Re: [Exim] LDAP: both mailbox and alias delivery at the same…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Langer
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] LDAP: both mailbox and alias delivery at the same time
On Sat, Dec 09, 2000 at 12:24:55 +0000, Philip Hazel wrote:
> I'm sorry I caused to you waste time reading the manual.


Oh, that time is never wasted ;-)

> stupid. You can't use "extract" with "query", of course, only when you
> are using an expansion string. If I recall correctly, you were using an
> aliasfile director with an LDAP extraction?


yes

> xxx:
>   driver = smartuser
>   new_address = ${lookup ldap{...the LDAP query...}\
>                  {${extract{fieldname}{$value}}} fail}


Thanks, that works.
Another question: is it possible to inject the mail with the new
address again as if it were new, so that the other directors are
also executed? It is not necessary but would make things easier.

Marc