Re: [Exim] problems looking up users

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Thierry Martens
Kopio: 'exim-users@exim.org'
Aihe: Re: [Exim] problems looking up users
On Fri, 15 Dec 2000, Thierry Martens wrote:

> The while exim should be looking in looks like:
>
> user    password
> user2 password2
> ...............



> # This director matches local user mailboxes.
>
> localuser:
>    driver = localuser
> #   transport = local_delivery
>    transport = test
> #   condition = ${if {${lookup{$local_part}dbm{/etc/users}{yes}{no}}}}
>    condition = ${lookup{$local_part}lsearch{/etc/users}{$value}fail}


(1) The value of a "condition" option must be "yes", "no" etc. Your lookup
is yielding some other value.

(2) The localuser director always looks for local users. You should be
using smartuser if you just want to have the users listed in a file and
not in /etc/passwd (or wherever).


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