Re: [Exim] Partial searches and NISPLUS

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: John Henders
CC: exim-users
Onderwerp: Re: [Exim] Partial searches and NISPLUS
On 26 Aug 1999, John Henders wrote:

> and the smartuser driver with
>
> new_address = ${lookup nisplus* {[name=$local_part],mail_aliases.org_dir:expansion}\
> {$value}fail}
>
> And in both cases exim has errored with the message
>
> "partial" is not permitted for lookup type "nisplus"


"Partial", when used with a single-key lookup, can be defined - it chops
the key up at dot separators and sticks on leading asterisks. When it
comes to query-style lookups, you can't define "partial" because the
query is something that is configured by the admin, and Exim knows
nothing about the form it takes.

> Is there anyway to handle the catch address with exim and nisplus? I
> was planning on having to convert


Use "queries" instead of "query", and have two colon-separated queries,
with the second doing your default (in a director), or if you are using
an expanded string with smartuser, just put another lookup for the
default instead of "fail".


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