From 8d3fbc8cc9458e39e0da663d3cc502f31e35537f Mon Sep 17 00:00:00 2001 From: Fredrik Wahlberg Date: Tue, 23 Oct 2007 11:09:34 +0000 Subject: [PATCH] =?UTF-8?q?Tog=20bort=20whitelistade=20v=C3=A4rden=20fr?= =?UTF-8?q?=C3=A5n=20greylistdiagrammet.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- milter_greylist | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/milter_greylist b/milter_greylist index a512303..5ad6dda 100755 --- a/milter_greylist +++ b/milter_greylist @@ -20,25 +20,26 @@ fi if [ "$1" = "config" ]; then echo 'graph_title Milter-greylist greylisted' - echo 'graph_args -l 0 --base 1000' +# echo 'graph_args -l 0 --base 1000' + echo 'graph_args --base 1000' echo 'graph_vlabel Greylisted' echo 'graph_category Mail' echo 'graph_period second' echo 'graph_info This graph shows the current number of greylisted and whitelisted senders.' echo 'grey.label Greylisted' - echo 'grey.max 10000' - echo 'grey.min 0' +# echo 'grey.max 10000' +# echo 'grey.min 0' echo 'grey.info The number of greylisted hosts.' - echo 'white.label Whitelisted' - echo 'white.max 500' - echo 'white.min 0' - echo 'white.info The number of whitelisted hosts.' +# echo 'white.label Whitelisted' + #echo 'white.max 500' + #echo 'white.min 0' +# echo 'white.info The number of whitelisted hosts.' exit 0 fi echo -n "grey.value " grep "\# Summary:" /var/run/milter-greylist/greylist.db |awk '{ print $5 }' -echo -n "white.value " -grep "\# Summary:" /var/run/milter-greylist/greylist.db |awk '{ print $7 }' +#echo -n "white.value " +#grep "\# Summary:" /var/run/milter-greylist/greylist.db |awk '{ print $7 }'