Skip to content

Commit

Permalink
If ARC sealing succeeded, remove original Authentication-Results: fie…
Browse files Browse the repository at this point in the history
…ld(s)
  • Loading branch information
ikedas committed Jun 25, 2024
1 parent 3402626 commit 147e702
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/Sympa/Message.pm
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ sub arc_seal {
my ($ah, $av) = split /:\s*/, $ahdr, 2;
$self->add_header($ah, $av, 0);
}
# Remove original Authentication-Results: field(s).
$self->delete_header('Authentication-Results');

$self->{_body} = $new_body;
delete $self->{_entity_cache}; # Clear entity cache.

Expand Down

0 comments on commit 147e702

Please sign in to comment.