Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 18:52:37 +0200 (CEST)
From:      Matthias Buelow <mkb@informatik.uni-wuerzburg.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/41012: /etc/periodic/daily/440.status-mailq assumes sendmail
Message-ID:  <20020726165237.738BAAF11@reiher.informatik.uni-wuerzburg.de>

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

>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




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