Re: [Exim] Exim-3.34 vs LDAP

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: endre
CC: exim-users@exim.org
Subject: Re: [Exim] Exim-3.34 vs LDAP
On Tue, 19 Feb 2002 endre@??? wrote:

> On Tue, 19 Feb 2002, Géczi Szabolcs wrote:
>
> > localuser:
> > driver = localuser
> > transport = local_delivery
> > search_type = ldap
> > query = "ldap:///uid=$local_part,dc=$domain,o=xxxxxxx,c=xx?uid
>
> you shouldn't use search_type with the _localuser_ driver.


Indeed, you seem to be confused about what localuser does. It calls the
system function that checks for users of the local host. This might
check /etc/passwd or it might check other things such as NIS or other
databases. That is up to your operating system and its configuration.

If you want to do your own LDAP lookups to test mail addresses, you are,
from Exim's point of view, dealing with "virtual users" because they
don't have accounts on the system. The documentation and examples for
virtual domains may help.


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