From owner-freebsd-security Sun Aug 29 12:41:42 1999 Delivered-To: freebsd-security@freebsd.org Received: from mail1.its.rpi.edu (mail1.its.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 4D47F14E66 for ; Sun, 29 Aug 1999 12:41:39 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail1.its.rpi.edu (8.9.3/8.9.3) with ESMTP id PAA64048; Sun, 29 Aug 1999 15:38:24 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <199908291358.XAA11762@cybernex.net.au> References: <199908291358.XAA11762@cybernex.net.au> Date: Sun, 29 Aug 1999 15:38:53 -0400 To: jj@cybernex.net.au, security@FreeBSD.ORG From: Garance A Drosihn Subject: Re: Daily security run - mail que content Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 12:02 AM +1000 8/30/99, Jacob Rhoden wrote: >For some reason... I continually get the following message >from the crontab security email: As others have mentioned, if you only get one line in this check, then it is telling you about the message that it (the check itself) is sending. If you only see one line, ignore it. This also bothered me, so I changed /etc/periodic/440.status-mailq to be: #!/bin/sh # # $Id: 440.status-mailq,v 1.3 1998/04/17 22:53:59 des Exp $ # if [ -x /usr/bin/mailq -a -d /var/spool/mqueue ] ; then echo "" echo "Mail in local queue:" if [ "`mailq|egrep -v '(1 request.|Sender/Recipient[-]*)$'|wc -l`" -ne 1 ] ; then mailq else echo " (no mail pending in queue)" fi # If you run a busy mail server or mail relay, you may prefer # a shorter and better formatted message. # # mailq | perl -ne 'print if /^\s+\S+@/' | # sort | uniq -c | sort -nr | awk '$1 > 1 {print $1, $2}' fi --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message