Re: [Exim] several redirections with one lookup?

Top Pagina
Delete this message
Reply to this message
Auteur: Marc Langer
Datum:  
Aan: exim-users
Onderwerp: 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