diff --git a/Changes b/Changes index 1ce1e44..ddd16e0 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,8 @@ POD cleanups (Steve Kemp) + check_spamhelo disconnects after denying a 'helo' (Filippo Carletti) + 0.82 - June 2, 2009 diff --git a/plugins/check_spamhelo b/plugins/check_spamhelo index fb90b72..b45f5a2 100644 --- a/plugins/check_spamhelo +++ b/plugins/check_spamhelo @@ -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;