Merge pull request #243 from priyadi/master

Should only reject if host is not localhost but HELO claims to be one
This commit is contained in:
Matt Simerson 2015-12-17 10:17:59 -08:00
commit 00343a48ac
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;
};