Should only reject if host is not localhost but HELO claims to be one

This commit is contained in:
Priyadi Iman Nurcahyo 2015-05-26 10:27:33 +00:00
parent 371a9bf4a0
commit 298b92f067
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ sub invalid_localhost {
$self->log(LOGDEBUG, "pass, is localhost");
return;
}
if ($host && lc $host eq 'localhost') {
if ($host && lc $host ne 'localhost') {
$self->log(LOGDEBUG, "pass, host is localhost");
return;
};