Package: greylistd
Version: 0.8.3.2
Severity: wishlist
Tags: patch
Here's a tiny patch to add support for MRTG compatible output:
http://www.darkskies.za.net/~norman/greylist/
It makes it so that you can graph number of white/grey mails per hour,
eg:
### System >> Greylist
Target[greylist]: `greylist mrtg`
MaxBytes[greylist]: 1
AbsMax[greylist]: 1250000
Options[greylist]: integer,nopercent,perhour
YLegend[greylist]: Emails per Hour
ShortLegend[greylist]: emails/h
Legend1[greylist]: Grey Emails per hour
Legend2[greylist]: White Email per hour
LegendI[greylist]: Grey
LegendO[greylist]: White
An alternative is to create a script like this:
greylist stats | grep ' -' | awk '{print $2}' | \
awk '{getline l1} {printl1} {print}'
uptime | sed -r 's/.* up (.*), +[[:digit:]]+ user.*/\1/g'
hostname
which is slower and uses more system resources.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (750, 'stable'), (700, 'testing'), (600, 'unstable'), (550,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_ZA, LC_CTYPE=en_ZA (charmap=ISO-8859-1)
Versions of packages greylistd depends on:
ii adduser 3.100 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy
ii python 2.4.4-1 An interactive high-level object-o
Versions of packages greylistd recommends:
ii exim4 4.63-11 metapackage to ease exim MTA (v4)
-- debconf information:
greylistd/restartexim: true
greylistd/autoconfig_notdone:
* greylistd/autoconfig_notdone_exim4:
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]