Ugo Bellavance wrote: > > Would you mind sharing the script you're using to get those stats? > > I am using MailWatch... The time distribution I did using a direct grep on the logs. grep "X-Greylist: Delayed for" /var/log/maillog | cut -d ' ' -f 12- | sort -n -k 3 The rest is this script (needs some tweaks for your site's greylist duration: #!/bin/sh echo "delayed for (pre-accept):" grep "delayed for" /var/log/maillog |wc -l echo "delayed for 00:01:00 (pre-accept first try):" grep "delayed for 00:01:00" /var/log/maillog |wc -l echo "delayed for (post-accept):" grep "X-Greylist: Delayed for" /var/log/maillog |wc -l echo "default action:" grep "is the default action" /var/log/maillog |wc -l echo "not delayed and delivered (total)" grep "INFO_GREYLIST_NOTDELAYED" /var/log/maillog |wc -l echo "not delayed and delivered (not spam tagged)" grep "INFO_GREYLIST_NOTDELAYED" /var/log/maillog |grep -v "is spam," |wc -l echo "not delayed and delivered (spam tagged)" grep "INFO_GREYLIST_NOTDELAYED" /var/log/maillog |grep "is spam," |wc -l echo "delivered after being delayed (total)" grep "INFO_GREYLIST_DELAYED" /var/log/maillog |wc -l echo "delivered after being delayed (not spam tagged)" grep "INFO_GREYLIST_DELAYED" /var/log/maillog |grep -v "is spam, " |wc -l echo "delivered after being delayed (spam tagged)" grep "INFO_GREYLIST_DELAYED" /var/log/maillog |grep "is spam, " |wc -l
Message
Re: [milter-greylist] Re: Learning mode
2005-12-09 by Matt Kettler
Attachments
- No local attachments were found for this message.