From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 4 08:40:27 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A1D916A4D1 for ; Thu, 4 Mar 2004 08:40:27 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 405B343D46 for ; Thu, 4 Mar 2004 08:40:27 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i24GeRbv016003 for ; Thu, 4 Mar 2004 08:40:27 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i24GeRDu016002; Thu, 4 Mar 2004 08:40:27 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 4 Mar 2004 08:40:27 -0800 (PST) Resent-Message-Id: <200403041640.i24GeRDu016002@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Paul Seniura" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F7F016A4CE for ; Thu, 4 Mar 2004 08:35:21 -0800 (PST) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8288443D1D for ; Thu, 4 Mar 2004 08:35:20 -0800 (PST) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])KAA66406; Thu, 4 Mar 2004 10:35:19 -0600 Received: from techpc04.okladot.state.ok.us ([199.27.9.37]) by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12) with ESMTP id 2004030410354858:106900 ; Thu, 4 Mar 2004 10:35:48 -0600 Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id AB4715C42; Thu, 4 Mar 2004 10:35:40 -0600 (CST) Message-Id: <20040304163540.AB4715C42@techpc04.okladot.state.ok.us> Date: Thu, 4 Mar 2004 10:35:40 -0600 (CST) From: "Paul Seniura" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Paul Seniura Subject: bin/63769: recent changes to usr.bin/mail are causing odd behaviours X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 16:40:27 -0000 >Number: 63769 >Category: bin >Synopsis: recent changes to usr.bin/mail are causing odd behaviours >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 04 08:40:26 PST 2004 >Closed-Date: >Last-Modified: >Originator: "Paul Seniura" >Release: FreeBSD 5.2-CURRENT i386 >Organization: State of Okla. D.O.T. >Environment: System: FreeBSD techpc04.okladot.state.ok.us 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Mar 3 00:53:27 CST 2004 root@techpc04.okladot.state.ok.us:/usr/obj/src/sys/IBM300SY_4BSD_O2 i386 >Description: The commits done on 29 February 2004 affecting the base mail program are now causing odd behaviours. => mikeh 2004/02/29 12:44:44 PST => => FreeBSD src repository => => Modified files: => usr.bin/mail extern.h lex.c mail.1 main.c names.c => send.c => Log: => Add the -e (mail presence test), -H (header summary mode), and -F => (message save as first recipient) options for standards => conformance. => => Submitted by: Wartan Hachaturow (with some changes) => PR: standards/61934 => => Revision Changes Path => 1.9 +1 -0 src/usr.bin/mail/extern.h => 1.15 +14 -5 src/usr.bin/mail/lex.c => 1.43 +26 -2 src/usr.bin/mail/mail.1 => 1.14 +43 -5 src/usr.bin/mail/main.c => 1.9 +73 -0 src/usr.bin/mail/names.c => 1.14 +26 -2 src/usr.bin/mail/send.c After entering 'mail', just about any command is now producing a line showing: Illegal use of "message list" as a result. Quitting the program with 'q' will show: Thou hast new mail. even if you have none. 'x' does not do this. >How-To-Repeat: I'm logged-in as 'root' since this is solely a development system for my work. I have NO_SENDMAIL=true in /etc/make.conf because I am using Postfix instead. I do not have NO_MAILWRAPPER set, tho, so those will still be built. I have the other SENDMAIL_* knobs commented-out, too. Build & install world with above commits in place. Here is a sample session: # mail Mail version 8.1 6/6/93. Type ? for help. "": 0 messages & h Illegal use of "message list" & n Illegal use of "message list" & t * Illegal use of "message list" & r * Illegal use of "message list" & q Thou hast new mail. # So far, it seems not to be actually causing any 'real' problems, but then this development system is not used for mail much at all. The nightly cron msgs did show up okay and I was able to 'd *' them, altho doing so did produce another bogus line saying the msgs were being copied somewhere (wasn't expecting it, so I missed jotting it down) and the 'q' did seem to remove them properly despite its bogus response as shown above. >Fix: Maybe perhaps back-out the above commits until they are working properly. I am rather reluctant to mess around with 'world' myself. ;) >Release-Note: >Audit-Trail: >Unformatted: