Re: [Exim] local part with NIS

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: koen breugelmans
CC: exim-users
Sujet: Re: [Exim] local part with NIS
On Wed, 10 Nov 1999, koen breugelmans wrote:

> The server (where exim runs) gets the passwd-file via NIS.
> And I want to accept all incoming mail for the users in the NIS-map!
> So when the server gets mail, it gotta match the local part with the NIS-db
> and if the user is in it, it must accept the mail, if it doesn't not.. (in
> fact just the same as the normal operating, except that exim looks the user
> up in NIS)


If you have set NIS up in the conventional manner (probably depends on
your OS - you don't say what that is) then the normal getpwnam()
function for looking up users will work off the NIS map instead of (or
as well as) the passwd file. In this case, Exim's localuser director
will just work.

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