From b115cb2b7c73403d69d88c6214e2cea2192079bc Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Fri, 3 Aug 2018 13:08:18 +0200 Subject: [PATCH] Plugin postfix-rbl-blocked-mails: shellcheck cleanup; switch to /bin/sh --- plugins/postfix/postfix-rbl-blocked-mails | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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() {