[Bug 212276] /etc/periodic/daily/440.status-mailq exit code is 1 when mail queue is empty

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 31 01:40:57 UTC 2016


            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 at FreeBSD.org
          Reporter: chris-freebsd-bugs at stankevitz.com

Created attachment 174238
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174238&action=edit
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.

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

More information about the freebsd-bugs mailing list