check_spamhelo disconnects after denying a 'helo'
This commit is contained in:
parent
dec3ec4920
commit
0c69862953
2
Changes
2
Changes
@ -1,6 +1,8 @@
|
||||
|
||||
POD cleanups (Steve Kemp)
|
||||
|
||||
check_spamhelo disconnects after denying a 'helo' (Filippo Carletti)
|
||||
|
||||
|
||||
0.82 - June 2, 2009
|
||||
|
||||
|
@ -23,7 +23,7 @@ sub hook_helo {
|
||||
for my $bad ($self->qp->config('badhelo')) {
|
||||
if ($host eq lc $bad) {
|
||||
$self->log(LOGDEBUG, "Denying HELO from host claiming to be $bad");
|
||||
return (DENY, "Sorry, I don't believe that you are $host.");
|
||||
return (DENY_DISCONNECT, "Sorry, I don't believe that you are $host.");
|
||||
}
|
||||
}
|
||||
return DECLINED;
|
||||
|
Loading…
Reference in New Issue
Block a user