http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3815


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From [EMAIL PROTECTED]  2006-03-21 02:32 -------
Hi,

This isn't working for me with 3.1.1. I think the problem is that you are adding
the relay info to the message object:

$msg->{tag_data}{RELAYCOUNTRY} = $countries;

and in sub _get_tag in PerMsgStatus.pm which handles the header parsing:

  elsif ($self->{tag_data}->{$tag}) {
    my $data = $self->{tag_data}->{$tag};
    if (ref $data eq 'CODE') {
      return $data->(@_);
    } else {    
      return $data;
    }
  } 

$self->{tag_data} is from the PerMsgStatus object. I don't see anywhere where
the tag_data from the Message object is copied into the tag_data of PerMsgStatus
object so you end up with a blank header value.

I also couldn't see anything obvious on how to get the PerMsgStatus object from
within extract_data in the plugin.




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

Reply via email to