needs to return DECLINED instead of undef.
---
 plugins/dspam |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/dspam b/plugins/dspam
index 337fd59..3a92741 100644
--- a/plugins/dspam
+++ b/plugins/dspam
@@ -284,7 +284,7 @@ sub dspam_process_open2 {
 sub dspam_reject {
     my ($self, $transaction) = @_;
 
-    my $d = $self->get_dspam_results( $transaction ) or return;
+    my $d = $self->get_dspam_results( $transaction ) or return DECLINED;
 
     if ( ! $d->{class} ) {
         $self->log(LOGWARN, "skip: no dspam class detected");
-- 
1.7.9.6

Reply via email to