summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1998-01-18 22:28:06 +0000
committerwosch <wosch@FreeBSD.org>1998-01-18 22:28:06 +0000
commit3ef8b0b8d77df5d4f852819e42dab40f2665ce13 (patch)
treeed196169e70d905b1d1db1f84ceb2b559875cbfa /etc/periodic
parent1a8fafd2d2a173407bbf06645af8003d98c7ae7a (diff)
downloadFreeBSD-src-3ef8b0b8d77df5d4f852819e42dab40f2665ce13.zip
FreeBSD-src-3ef8b0b8d77df5d4f852819e42dab40f2665ce13.tar.gz
Add an example for busy mail servers, commented out.
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/daily/440.status-mailq8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/periodic/daily/440.status-mailq b/etc/periodic/daily/440.status-mailq
index 1a45a51..cee3abd 100755
--- a/etc/periodic/daily/440.status-mailq
+++ b/etc/periodic/daily/440.status-mailq
@@ -1,10 +1,16 @@
#!/bin/sh
#
-# $Id: 440.status-mailq,v 1.1.1.1 1997/08/12 17:51:15 pst Exp $
+# $Id: 440.status-mailq,v 1.1.1.1 1997/08/16 17:04:01 pst Exp $
#
if [ -x /usr/sbin/mailq -a -d /var/spool/mqueue ] ; then
echo ""
echo "Mail in local queue:"
mailq
+
+ # 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
OpenPOWER on IntegriCloud