Re: [Exim] LDAP lookup

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Tamas TEVESZ
Υ/ο: Ingvarr Zhmakin, exim-users
Αντικείμενο: Re: [Exim] LDAP lookup
On Wed, 23 Jan 2002, Tamas TEVESZ wrote:

> On Wed, 23 Jan 2002, Ingvarr Zhmakin wrote:
>
> > I would like director with ldap lookup to be skipped if lookup fails.
> > Instead it fails the whole delivery so mail for local users is abandoned if
> > this director meets it.
>
>         y}{$value}{}}

>
> change this to
>
>         y}{$value}fail}


You haven't been following this thread. :-) That is what was tried
initially, and it doesn't work. Any expansion failure of file_directory
causes the director give an error and defer delivery.

Sorry, that's just the way it is. What Ingvarr will have to do is to add
a "condition" setting with the same lookup. That can be used to skip the
director if the lookup fails. The repeated lookup for file_directory
should not be expensive, because Exim caches the most recent lookup.

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