dspam bug fix for messages over max size
needs to return DECLINED instead of undef.
This commit is contained in:
parent
b53454730d
commit
19c924d13c
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user