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





------- Additional Comments From [EMAIL PROTECTED]  2005-05-10 11:14 -------
(In reply to comment #3)
> 'PMS::get()
> seems to fake this for X-Spam-Relays-Untrusted and X-Spam-Relays-Trusted'
> 
> ick.  at some point PMS::get() did indeed look in the metadata hash.  I wonder
> when that fell out... should have had a regression test for that :(

Yeah, I'm thinking what happened is that the metadata string name for those 
aren't 100% obvious 
(relays_trusted_str and relays_untrusted_str), so they were put in specially.

Perhaps we should change the end of get() from:

    $result = join('', $self->{msg}->get_header($request, $getraw));
    $result = undef if !$result;

to look for a metadata string of the same name.  Something like:

    $result = $self->{msg}->{metadata}->{$request} || join('', 
$self->{msg}->get_header($request, 
$getraw));
    $result = undef if !$result;

??



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

Reply via email to