You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
468 B
16 lines
468 B
13 years ago
|
#!/bin/bash
|
||
|
BINDIR='/var/lib/zabbix/bin'
|
||
12 years ago
|
LOGTAIL=$BINDIR'/util_logtail'
|
||
12 years ago
|
PARSER=$BINDIR'/util_parse_mail_in'
|
||
13 years ago
|
LOGFILE='/var/log/qpsmtpd/current'
|
||
|
TMPDIR='/var/lib/zabbix/tmp/'
|
||
|
|
||
|
|
||
|
for WHAT in dnsbl rhsbl clamav check_earlytalker check_basicheaders \
|
||
|
check_goodrcptto check_spamhelo total_denied spam_denied \
|
||
|
other_denied spam_queued queued total; do
|
||
|
$LOGTAIL $LOGFILE $TMPDIR/mail.in.$WHAT.offset | $PARSER $WHAT > $TMPDIR/mail.in.$WHAT
|
||
|
done
|
||
|
|
||
|
|