Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2016 01:40:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212276] /etc/periodic/daily/440.status-mailq exit code is 1 when mail queue is empty
Message-ID:  <bug-212276-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212276

            Bug ID: 212276
           Summary: /etc/periodic/daily/440.status-mailq exit code is 1
                    when mail queue is empty
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: chris-freebsd-bugs@stankevitz.com

Created attachment 174238
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174238&action=
=3Dedit
fix check for empty queue string

mailq status returns $1 even when queue is empty.

Attached patch fixes problem on my system, which may be entirely because I =
use
postfix instead of sendmail.  I'm not sure how postfix interacts with
/usr/bin/mailq if at all.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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