Lähettäjä: Anthony de Boer Päiväys: Vastaanottaja: exim-users Aihe: Re: [exim] LDAP lookup and cocanation
Ben Wheare wrote: > Email is delivered to joe.bloggs@domain (the form firstname.surname@domain)
>
> I want Exim to receive this mail, do an LDAP lookup for the record that
> matches firstname=joe AND surname=bloggs and return the field
> userid=jbloggs, so that I can deliver mail to the maildir
> /maildirs/{userid}/.
Just out of interest, what do you do when firstname=John, surname=Smith
matches more than one entry?
(#1 on the list of reasons firstname.lastname is a bad idea.)