http://bugzilla.spamassassin.org/show_bug.cgi?id=3942

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |trivial
            Summary|Small Bug in EvalTests      |Small Bug in
                   |                            |EvalTests::_check_recipients
                   |                            |()
   Target Milestone|Future                      |3.0.2



------- Additional Comments From [EMAIL PROTECTED]  2004-10-30 10:01 -------
The problem description in the ticket isn't very informative, so here's the 
issue:

  # ToCc: pseudo-header works best, but sometimes Bcc: is better
  for ('ToCc', 'Bcc') {
    my $to = $self->get($_);    # get recipients
    $to =~ s/\(.*?\)//g;        # strip out the (comments)
    @inputs = ($to =~ m/([EMAIL PROTECTED](?:[\w.-]+\.)+\w+)/g);
    last if scalar(@inputs) >= TOCC_SIMILAR_COUNT;
  }

The problem is that the @inputs array from ToCC will be overwritten by the 
array from Bcc (which is 
typically empty) if there aren't enough values from ToCC.

It's not clear whether or not this is the desired behavior -- should ToCC and 
Bcc be merged together if 
ToCC alone isn't enough, or should Bcc override ToCC (current behavior)?



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

Reply via email to