Change no hostname to a hostile action, there has been too many of them, and I have no idea what they are trying to do:)

This commit is contained in:
2024-04-09 17:42:03 +02:00
parent 689084d93e
commit 893eba3229

View File

@ -99,7 +99,11 @@ sub parser {
} elsif($string =~ m/ no host name found for IP address /) {
$_ = $string;
$reply = 'No hostname';
$hostile = 0;
$hostile = 1;
PARSE:
m/\ ($re_host)/gcix && do {
$host = $1;
};
} elsif($string =~ m/unexpected disconnection while reading SMTP command from/) {
$_ = $string;
$reply = 'SMTP error, disconnected';