mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Plugin postfix-rbl-blocked-mails: shellcheck cleanup; switch to /bin/sh
This commit is contained in:
parent
9e47c112b9
commit
b115cb2b7c
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Made by Stefan Bühler, Switzerland
|
# Made by Stefan Bühler, Switzerland
|
||||||
# Monitor blocked Mails during Postfix RBL Scan, included Spamhaus, Spamcop, Manitu, MSRBL, NJABL
|
# Monitor blocked Mails during Postfix RBL Scan, included Spamhaus, Spamcop, Manitu, MSRBL, NJABL
|
||||||
@ -6,8 +6,7 @@
|
|||||||
|
|
||||||
# Allow user to specify logfile through env.logfile
|
# Allow user to specify logfile through env.logfile
|
||||||
LOGFILE=${logfile:-/var/log/mail.log}
|
LOGFILE=${logfile:-/var/log/mail.log}
|
||||||
DATE=`date '+%b %e %H'`
|
DATE=$(date '+%b %e %H')
|
||||||
MAXLABEL=20
|
|
||||||
|
|
||||||
|
|
||||||
get_blocked_by_domain_count() {
|
get_blocked_by_domain_count() {
|
||||||
|
Loading…
Reference in New Issue
Block a user