https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6856

--- Comment #2 from Mark Martinec <[email protected]> ---
> So if the intent of have_any_bounce_relays is to return 1 if
> whitelist_bounce_relays are configured, and 0 otherwise

Great catch, thanks.

Try this:

sub have_any_bounce_relays {
  my ($self, $pms) = @_;
  return $pms->{conf}->{whitelist_bounce_relays} &&
         %{$pms->{conf}->{whitelist_bounce_relays}} ? 1 : 0;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to