diff --git a/plugins/postfix/postfix-rbl-blocked-mails b/plugins/postfix/postfix-rbl-blocked-mails index beb78b4e..cfb525b6 100755 --- a/plugins/postfix/postfix-rbl-blocked-mails +++ b/plugins/postfix/postfix-rbl-blocked-mails @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # Made by Stefan Bühler, Switzerland # 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 LOGFILE=${logfile:-/var/log/mail.log} -DATE=`date '+%b %e %H'` -MAXLABEL=20 +DATE=$(date '+%b %e %H') get_blocked_by_domain_count() {