From owner-freebsd-bugs Tue Feb 28 16:57:22 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA25561 for bugs-outgoing; Tue, 28 Feb 1995 16:57:22 -0800 Received: from feta.cisco.com (feta.cisco.com [171.69.1.158]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id QAA25553 for ; Tue, 28 Feb 1995 16:57:21 -0800 Received: from localhost.cisco.com (localhost.cisco.com [127.0.0.1]) by feta.cisco.com (8.6.8+c/CISCO.SERVER.1.1) with SMTP id QAA21722 for ; Tue, 28 Feb 1995 16:56:49 -0800 Message-Id: <199503010056.QAA21722@feta.cisco.com> X-Authentication-Warning: feta.cisco.com: Host localhost.cisco.com didn't use HELO protocol To: bugs@FreeBSD.org Subject: do not implement misc/186 Date: Tue, 28 Feb 1995 16:56:48 -0800 From: Paul Traina Sender: bugs-owner@FreeBSD.org Precedence: bulk ------- Forwarded Message Date: Tue, 28 Feb 1995 16:33:28 -0800 From: Eric Allman To: Paul Traina 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 : 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