From owner-freebsd-bugs Fri Jul 26 10: 0:13 2002 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 5ABF037B401 for ; Fri, 26 Jul 2002 10:00:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96C6743E70 for ; Fri, 26 Jul 2002 10:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6QH04JU037439 for ; Fri, 26 Jul 2002 10:00:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6QH04Om037438; Fri, 26 Jul 2002 10:00:04 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7249737B400 for ; Fri, 26 Jul 2002 09:52:39 -0700 (PDT) Received: from reiher.informatik.uni-wuerzburg.de (wi4d22.informatik.uni-wuerzburg.de [132.187.101.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id D26D443E42 for ; Fri, 26 Jul 2002 09:52:38 -0700 (PDT) (envelope-from mkb@wi4d22.informatik.uni-wuerzburg.de) Received: by reiher.informatik.uni-wuerzburg.de (Postfix, from userid 1001) id 738BAAF11; Fri, 26 Jul 2002 18:52:37 +0200 (CEST) Message-Id: <20020726165237.738BAAF11@reiher.informatik.uni-wuerzburg.de> Date: Fri, 26 Jul 2002 18:52:37 +0200 (CEST) From: Matthias Buelow Reply-To: Matthias Buelow To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/41012: /etc/periodic/daily/440.status-mailq assumes sendmail Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41012 >Category: bin >Synopsis: /etc/periodic/daily/440.status-mailq assumes sendmail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 26 10:00:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Buelow >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD reiher.informatik.uni-wuerzburg.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 02:24:38 CEST 2002 mkb@reiher.informatik.uni-wuerzburg.de:/usr/src/sys/compile/REIHER i386 >Description: The 440.status-mailq daily periodic script seems to assume sendmail is being used as the mta. I've got postfix running (from ports) and /usr/bin/mailq is routed via mailer.conf to the postfix "sendmail" binary, which doesn't support the following (quoted from script): ... rc=$(case "$daily_status_mailq_shorten" in [Yy][Ee][Ss]) mailq -Ac | perl -ne 'print if /^\s+\S+@/' | ... which prints: Mail in submit queue: mailq: illegal option -- A mailq: fatal: usage: mailq [options] >How-To-Repeat: >Fix: Make the system scripts not assume that sendmail is being used. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message