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

--- Comment #3 from Mark Martinec <[email protected]> ---
(In reply to comment #2)
> Would be really nice if somebody could provide a patch to ASN.pm,
> which defines metadata, which could be used in a ruleset then.

As far as I can tell the current (trunk) ASN.pm does provide metadata:

  if ($any_asn_updates && @asn_tag_data) {
    $pms->{msg}->put_metadata('X-ASN', join(' ',@asn_tag_data));
    my $prefix = $pms->{conf}->{asn_prefix};
    if (defined $prefix && $prefix ne '') { s/^/$prefix/ for @asn_tag_data }
    $pms->set_tag($asn_tag,
                  @asn_tag_data == 1 ? $asn_tag_data[0] : \@asn_tag_data);
  }
  if ($any_route_updates && @route_tag_data) {
    $pms->{msg}->put_metadata('X-ASN-Route', join(' ',@route_tag_data));
    $pms->set_tag($route_tag,
                  @route_tag_data == 1 ? $route_tag_data[0] :
\@route_tag_data);
  }

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

Reply via email to