Re: [Exim] several redirections with one lookup?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Langer
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] several redirections with one lookup?
On Thu, May 09, 2002 at 01:41:13 +0200, Philipp Gaschuetz wrote:
> Is there any way to acomplish the above in one LDAP query? So that an ldap
> query such as
> ldap:///o=base?mailForwardingAddress,deliveryMode?sub?(uid=$local_part@$domain)
>
> would
> a) forward the address to the result of mailForwardingAddress and also send
> out an autoreply if delivery-mode is TRUE ?


Use deliveryMode in the filter:

ldap:///o=base?mailForwardingAddress?sub?(&(uid=$local_part@$domain)(deliveryMode=TRUE))

Marc