dspam bug fix for messages over max size

needs to return DECLINED instead of undef.
This commit is contained in:
Matt Simerson 2012-05-09 01:03:21 -04:00 committed by Robert
parent b53454730d
commit 19c924d13c

View File

@ -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");