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:
commit
00343a48ac
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user