Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!cornell!parmelee From: parmelee@wayback.cs.cornell.edu (Larry Parmelee) Newsgroups: comp.mail.sendmail Subject: Re: .forward question Keywords: sendmail Message-ID: <37639@cornell.UUCP> Date: 22 Feb 90 12:44:35 GMT References: <6241@hydra.gatech.EDU> Sender: nobody@cornell.UUCP Reply-To: parmelee@wayback.cs.cornell.edu (Larry Parmelee) Organization: Cornell Univ. CS Dept, Ithaca NY Lines: 61 In article <6241@hydra.gatech.EDU> rh26@prism.gatech.EDU (Robert L. Howard) writes: > This is probably a simple minded sendmail question, but here goes... How does sendmail (on machine A) determine if a particular user exists On a mail client, it doesn't matter. Since all valid mail targets are given a dummy alias in YP map, it'll be passed to the mailhost. On the mailhost, I'd presume it checks the YP passwd map, assuming it doesn't find something else in the local alias file. It would also get the home directory from there. > The problem I imagine here is that > home directories not on mailhost won't be searched for .forward. (We > do run the automounter.) We don't run the automounter, so I'm not sure what that impact would be. ".forward" files are a problem area - I do not know exactly how sun sendmail handles things, but this is certainly a tricky area. 1) Sendmail typically runs as "root", and "root" gets "nobody" priviledges on NFS mounted file systems, so an in-appropriate protection mode on either a user's home directory or .forward file could prevent root/sendmail from seeing the ".forward" file. 2) An NFS mounted file system may be temporarily un-available at the instant sendmail chooses to look for a .forward file; hence it may think that there is none. Both these problems will result in mail being delivered locally to spool/mail, when prehaps it should have been forwarded elsewhere. I don't know how or if Sun sendmail addresses these problems. I think that by appropriate careful coding, sendmail could work around both these problems. -Larry Parmelee parmelee@cs.cornell.edu