@@ -3,6 +3,7 @@ This file documents the major additions and syntax changes between releases.
2.3.2 2020-??-??
FIXES
check_http: Fix host:port syntax when using -H (Isaac White)
+ check_mailq: Fix nullmailer regular expression to recognize minutes and seconds properly (#522)
2.3.1 2019-12-09
@@ -587,7 +587,7 @@ elsif ( $mailq eq "nullmailer" ) {
while (<MAILQ>) {
#2006-06-22 16:00:00 282 bytes
- if (/^[1-9][0-9]*-[01][0-9]-[0-3][0-9]\s[0-2][0-9]\:[0-2][0-9]\:[0-2][0-9]\s{1,2}[0-9]+\sbytes$/) {
+ if (/^[1-9][0-9]*-[01][0-9]-[0-3][0-9]\s[0-2][0-9]\:[0-5][0-9]\:[0-5][0-9]\s{1,2}[0-9]+\sbytes$/) {
$msg_q++ ;
}