🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99358

Re: Mail has the wrong originator

#99358
From: Kevin Thompson
Date: Wed, 03 Oct 1990 00:03
52 lines
2937 bytes
In article <27420@bellcore.bellcore.com> ramiro@rrunner.ctt.bellcore.com (Ramiro Reinoso) writes:
>I recently compiled version 18.52 of GNU emacs on a Sparcstation 1
>that runs UNIX 4.0.3.  Everything works fine except the mailer.  All
>the messages that I send have the recipient as the originator of the
>message.  I don't want to impersonate other people, so does anybody
>have a fix for this problem ?

This has come up multiple times in this newsgroup recently (twice today),
and we wrestled with it for months.  Here is the change our local Sun guru
made, that fixed it but we weren't sure why.  The change is in,
unsurprisingly, sendmail-send-it in sendmail.el.  I frankly don't understand
why this works (or why it's lasted so long in the distribution), but it did
the trick for us, and I've not seen anyone else post a bug-fix.  We thought
we were the only people running into this :).

Kevin Thompson

*** sendmail.el.new	Tue Sep 11 10:20:54 1990
--- sendmail.el.old	Fri Dec 22 20:37:13 1989
***************
*** 230,246 ****
  		 (append (list (point-min) (point-max)
  			       (if (boundp 'sendmail-program)
  				   sendmail-program
  				 "/usr/lib/sendmail")
  			       nil errbuf nil
! 			       "-oi" "-t" "-f")
  			 ;; Don't say "from root" if running under su.
! 			 ;;  but always give '-f user' -- 9/6/90
! 			 (list (cond ((equal (user-real-login-name) "root") (user-login-name))
! 			       	     (t (user-real-login-name))))
! 			 ;(and (equal (user-real-login-name) "root")
! 			 ;     (list "-f" (user-login-name)))
  			 ;; These mean "report errors by mail"
  			 ;; and "deliver in background".
  			 (if (null mail-interactive) '("-oem" "-odb"))))
--- 240,253 ----
  		 (append (list (point-min) (point-max)
  			       (if (boundp 'sendmail-program)
  				   sendmail-program
  				 "/usr/lib/sendmail")
  			       nil errbuf nil
! 			       "-oi" "-t")
  			 ;; Don't say "from root" if running under su.
! 			 (and (equal (user-real-login-name) "root")
! 			      (list "-f" (user-login-name)))
  			 ;; These mean "report errors by mail"
  			 ;; and "deliver in background".
  			 (if (null mail-interactive) '("-oem" "-odb"))))

--
kthompso@ptolemy.arc.nasa.gov     NASA-Ames Research Center, Moffett Field, CA
Technical Details
Message-ID: <9010032158.AA04491@apple-gunkies.ai.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!PTOLEMY.ARC.NASA.GOV!kthompso

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,dd3e2337d3a68e16,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-10-02 17:03:03 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!PTOLEMY.ARC.NASA.GOV!kthompso
From: kthompso@PTOLEMY.ARC.NASA.GOV (Kevin Thompson)
Newsgroups: gnu.emacs.bug
Subject: Re: Mail has the wrong originator
Message-ID: <9010032158.AA04491@apple-gunkies.ai.mit.edu>
Date: 3 Oct 90 00:03:03 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: NASA-Ames Research Center, Moffett Field, CA
Lines: 52
Posted: Wed Oct  3 01:03:03 1990