https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7723

--- Comment #7 from Henrik Krohns <[email protected]> ---
sub _check_fromnamespoof
{
  my ($self, $pms) = @_;

  return if (defined $pms->{fromname_contains_email});

  my $conf = $pms->{conf};

  $pms->{fromname_contains_email} = 0;


Ah ok I read that too quickly, missed the "defined" bit..

But I don't think this will work reliably, since _check_fromnamespoof could be
called much before the tag ever hits.

  $pms->action_depends_on_tags('DKIMDOMAIN',
      sub { my($pms,@args) = @_;
        $self->_check_fromnamespoof($pms);

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

Reply via email to