Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!arc!chet From: chet@arc.UUCP (Chet Wood) Newsgroups: gnu.emacs Subject: Re: emacs sendmail committing forgery Keywords: SunOS4.0, GNU Emacs, sendmail Message-ID: <284@arc.UUCP> Date: 5 May 89 17:31:10 GMT References: <276@arc.UUCP> <12678@ihlpy.ATT.COM> Sender: news@arc.UUCP Reply-To: chet@arc.UUCP (Chet Wood) Organization: Advansoft Research Corp, Santa Clara, CA Lines: 29 In-reply-to: pdg@ihlpy.ATT.COM (Paul D. Guthrie) In article <12678@ihlpy.ATT.COM>, pdg@ihlpy (Paul D. Guthrie) writes: >In article <276@arc.UUCP> chet@arc.UUCP (Chet Wood) writes: >>When sending mail to people >>with a local address (e.g. "user"), from emacs running on a subsidiary >>machine, the message arrives claiming to be _from_ the first person >>on the "To: " line. An address of the form "user@machine" doesn't show >>the problem. Nor does the problem show up when using bsd "mail" for >>sending. > >We also see this problem, and I have also tried debugging this, >from the shell, with no success. > >Any help would be appreciated. benson@odi.UUCP (Benson Margulies) posted the definitive reply in comp.emacs (for some reason.) Here is what he said in <314@odi.ODI.COM>: :This is a bug in Sunos 4 sendmail. If getlogin() return 0, which it :does when stdin/out/err is a pipe of a pty without a utmp entry, :sendmail goes batshit. We hacked mail.el to add an explicit -f. :Sun has acknowledged the bug, and promises a fix "sometime." Thanks, Benson. Also, I'd like to thank Stephen Gildea and Anton Rang for their help. Chet Wood ~ (408)727-3357 arc!chet@apple.COM . Advansoft Research Corporation chet@arc.UUCP . 4301 Great America Parkway apple!arc!chet . Santa Clara, CA 95054, USA