diff --git a/plugins/postfix/postfix_stats b/plugins/postfix/postfix_stats index 8bfb212b..072435d4 100755 --- a/plugins/postfix/postfix_stats +++ b/plugins/postfix/postfix_stats @@ -127,7 +127,7 @@ fi # Variable to store the pflogsumm result. if [ -n "${FILTER_HOSTNAME}" ]; then # shellcheck disable=SC2086 - TMP_RAW=$(grep -h " ${FILTER_HOSTNAME} postfix/" ${MAIL_LOG} | "${PFLOGSUMM}" -d today --detail 0 --zero-fill) + TMP_RAW=$(grep -Fh " ${FILTER_HOSTNAME} postfix/" ${MAIL_LOG} | "${PFLOGSUMM}" -d today --detail 0 --zero-fill) else # shellcheck disable=SC2086 TMP_RAW=$("${PFLOGSUMM}" -d today --detail 0 --zero-fill ${MAIL_LOG})