From owner-freebsd-bugs Mon Sep 25 14:50:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 212B337B42C for ; Mon, 25 Sep 2000 14:50:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA80158; Mon, 25 Sep 2000 14:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with SMTP id 7BE5037B449 for ; Mon, 25 Sep 2000 14:40:30 -0700 (PDT) Received: by border.alcanet.com.au id <115209>; Tue, 26 Sep 2000 08:40:00 +1000 Message-Id: <00Sep26.084000est.115209@border.alcanet.com.au> Date: Tue, 26 Sep 2000 08:40:14 +1100 (EST) From: peter.jeremy@alcatel.com.au Reply-To: peter.jeremy@alcatel.com.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/21544: mail.local(8) doesn't allow nobiff option Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21544 >Category: bin >Synopsis: mail.local(8) doesn't allow nobiff option >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: Mon Sep 25 14:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 5.0-CURRENT i386 >Organization: Alcatel Australia Limited >Environment: cvs-cur 6737 >Description: The nobiff option is a local FreeBSD mod to mail.local. It originally used `-b', but recent versions of sendmail use that to mean `bounce mail when over quota' and the nobiff option was changed to `-B'. Unfortunately, the getopt(3) string was not changed to suit. Therefore any attempt to use `-B' is rejected. >How-To-Repeat: Run the command "/usr/libexec/mail.local -B" >Fix: Index: mail.local.c =================================================================== RCS file: /home/CVSROOT/src/contrib/sendmail/mail.local/mail.local.c,v retrieving revision 1.7 diff -u -r1.7 mail.local.c --- mail.local.c 2000/08/12 22:19:12 1.7 +++ mail.local.c 2000/09/25 21:31:36 @@ -304,7 +304,7 @@ # endif /* LOG_MAIL */ from = NULL; - while ((ch = getopt(argc, argv, "7bdf:r:l")) != -1) + while ((ch = getopt(argc, argv, "7Bbdf:r:l")) != -1) { switch(ch) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message