From 19c924d13c251e856c67d75c77e0ad1f641abf30 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 9 May 2012 01:03:21 -0400 Subject: [PATCH] dspam bug fix for messages over max size 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");