cwl@TALCOTT.HARVARD.EDU (Charlie Lamb) (01/05/89)
My apologies if you already know about this one. We just installed SunOS 4.0 and found a little problem with sendmail that emacs triggers. I wouldn't say this is a bug in emacs, but I thought you should be aware of it. When you run /usr/lib/sendmail with call-process-region from the function sendmail-send-it, on a diskless node, where the current user isn't in the /etc/passwd (but in the yp which the /etc/passwd references), sendmail sends the mail from someone funny (i.e. not the user who is logged in). As I said, this is not an emacs problem because if you execute /usr/lib/sendmail from an emacs shell with the -t option, this same problem occurs. Our fix was to impose the -f option on sendmail from sendmail-send-it all the time. As I said, this isn't an emacs problem, but you might want to be aware of it. I don't have sources to SunOS to look into this further, but my suspicion (based on looking at the bsd4.3 sendmail sources) is that getpwent under 4.0 isn't working right in the face of yp password entries. I don't understand what has changed between 3.x and 4.0. Regards, -cwl