diff --git a/VERSION b/VERSION index 10ae03c7..93bd70cc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.5.1-4 +5.5.1-5 diff --git a/changelog b/changelog index a960939e..90f3c875 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +03/10/2024 Changes in v5.5.1-5 +================================== +- Remove case insenstive duplicate options +- Add values to return statements in msmilter +- Fix regex for bad helo check in msmilter + 12/29/2023 Changes in v5.5.1-4 ================================== - Fix Exim code block diff --git a/common/usr/sbin/MSMilter b/common/usr/sbin/MSMilter index 7339429f..fbeeb6f2 100644 --- a/common/usr/sbin/MSMilter +++ b/common/usr/sbin/MSMilter @@ -159,7 +159,7 @@ sub helo_callback my $message_ref = $ctx->getpriv(); my $message = "Received: from $helohost"; # Check for unexpected helo - if ( ${$message_ref} =~ /^[0-9A-F]{7,20}|[0-9B-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]{8,20}$/) { + if ( ${$message_ref} =~ /^(?:[0-9A-F]{7,20}|[0-9B-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]{8,20})$/) { MailScanner::Log::WarnLog("Unexpected helo callback"); return Sendmail::PMilter::SMFIS_TEMPFAIL; }