Re: [Exim] problems looking up users

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Thierry Martens
CC: 'exim-users@exim.org'
Sujet: 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.