mirror of
https://github.com/MailScanner/v5.git
synced 2024-09-20 07:16:10 +08:00
Update 5.5.1-5 (#685)
This commit is contained in:
parent
79c5ef553f
commit
552963a0ce
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue