From eaa15c0de503fe194c7b22d82b3fb1744b5d6eb0 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Fri, 29 Apr 2016 13:05:33 +0000 Subject: [PATCH] Delete invocation of mailq(1) that was present for historical reasons. On a real mailserver, it's too noisy and may be a privacy concern. On a machine that's not a mailserver, it's pointless. Besides, Theo points out that running subsystems that potentially parse untrusted user data daily, at a predictable time, as root is not a very good idea in the first place. Suggested by millert@; gilles@ matthieu@ deraadt@ sthen@ agree --- src/etc/daily | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/etc/daily b/src/etc/daily index 9457ba3b..9a299e34 100644 --- a/src/etc/daily +++ b/src/etc/daily @@ -1,5 +1,5 @@ # -# $OpenBSD: daily,v 1.87 2016/04/01 08:20:27 ajacoutot Exp $ +# $OpenBSD: daily,v 1.88 2016/04/29 13:05:33 schwarze Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # # For local additions, create the file /etc/daily.local. @@ -140,13 +140,6 @@ else dump w | grep -vB1 ^Dump fi -# The first two regular expressions handle sendmail, the third postfix. -# When the queue is empty, smtpd(8) and exim -bp keep silent. -next_part "mail:" -mailq | grep -v -e "^/var/spool/mqueue is empty$" \ - -e "^[[:blank:]]*Total requests: 0$" \ - -e "^Mail queue is empty$" - next_part "network:" if [ "X$VERBOSESTATUS" != X0 ]; then netstat -ivn