Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 1995 16:56:48 -0800
From:      Paul Traina <pst@cisco.com>
To:        bugs@FreeBSD.org
Subject:   do not implement misc/186
Message-ID:  <199503010056.QAA21722@feta.cisco.com>

next in thread | raw e-mail | index | archive | help

------- Forwarded Message

Date:    Tue, 28 Feb 1995 16:33:28 -0800
From:    Eric Allman <eric@cs.Berkeley.EDU>
To:      Paul Traina <pst@cisco.com>
cc:      sendmail@cs.Berkeley.EDU
Subject: Re: misc/186: Sendmail incorrectly defines $s macro inside the rule #0
	   

I don't believe that is correct fix, since host isn't necessarily
meaningful at that point (e.g., for local mail), and CurHostName
is used for more than setting $s.  The 8.7 code has that as just
setting CurHostName = NULL at that point -- you'll notice that it
gets reset later in the code if there is a valid host name.

eric


Re:
: From:  Paul Traina <pst@cisco.com>
: Subject:  misc/186: Sendmail incorrectly defines $s macro inside the rule #0
: Date:  Mon, 27 Feb 1995 22:01:05 -0800

: This bug report refers to sendmail 8.6.9, it may have been fixed in .10, I
: haven't checked yet.  If this guy's right, care to fix this in your next
: release?
: 
: ------- Forwarded Message
: 
: Path: cronkite.cisco.com!newsgate.cisco.com
: From: vak@cronyx.msk.su
: To: freebsd-bugs@freefall.cdrom.com
: Newsgroups: cisco.external.bsd.free.bugs
: Subject: misc/186: Sendmail incorrectly defines $s macro inside the rule #0
: Message-ID: <199501251920.LAA23057@freefall.cdrom.com>
: Date: 25 Jan 1995 11:20:02 PST
: References: <199501251913.WAA00898@gw.cronyx.msk.su>
: Sender: bugs-owner@freebsd.org
: Reply-To: vak@cronyx.msk.su
: Organization: Internet-USENET Gateway at cisco Systems
: Lines: 42
: 
: 
: >Number:         186
: >Category:       misc
: >Synopsis:       Sendmail incorrectly defines $s macro inside the rule #0
: >Confidential:   no
: >Severity:       serious
: >Priority:       medium
: >Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
: >State:          open
: >Class:          support
: >Submitter-Id:   current-users
: >Arrival-Date:   Wed Jan 25 11:20:01 1995
: >Originator:     Serge V.Vakulenko
: >Organization:
: Cronyx Ltd.
: >Release:        FreeBSD 2.0-RELEASE i386
: >Environment:
: >Description:
: 
: 	The $&s macro has incorrect value inside the rule #0.
: 	Those configurations in which the e-mail route depends
: 	on the name of the sender host don't work.
: 
: >How-To-Repeat:
: >Fix:
: 	The following patch fixes it.
: 
: --- /usr/src/usr.sbin/sendmail/src/deliver.c	Thu May 26 09:23:15 1994
: +++ ./deliver.c	Sun May  1 22:05:42 1994
: @@ -950,7 +931,7 @@
:  	}
:  	errno = 0;
:  
: -	CurHostName = m->m_mailer;
: +	CurHostName = host;
:  
:  	/*
:  	**  Deal with the special case of mail handled through an IPC
: >Audit-Trail:
: >Unformatted:
: 
: 
: 
: ------- End of Forwarded Message


------- End of Forwarded Message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503010056.QAA21722>