Should only reject if host is not localhost but HELO claims to be one
This commit is contained in:
parent
371a9bf4a0
commit
298b92f067
@ -345,7 +345,7 @@ sub invalid_localhost {
|
|||||||
$self->log(LOGDEBUG, "pass, is localhost");
|
$self->log(LOGDEBUG, "pass, is localhost");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ($host && lc $host eq 'localhost') {
|
if ($host && lc $host ne 'localhost') {
|
||||||
$self->log(LOGDEBUG, "pass, host is localhost");
|
$self->log(LOGDEBUG, "pass, host is localhost");
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user