From 1745d310db8102be38db65401df57747e9beaf6a Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 17 Mar 2023 18:39:46 +0000 Subject: ACL: patterns for remove_headers. Bug 2985 --- doc/doc-txt/NewStuff | 2 ++ doc/doc-txt/experimental-spec.txt | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/doc-txt') diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff index 84db8ea58..991bcf741 100644 --- a/doc/doc-txt/NewStuff +++ b/doc/doc-txt/NewStuff @@ -31,6 +31,8 @@ Version 4.97 11. An option for the ${readsocket } expansion to set an SNI for TLS. + 12. The ACL remove_header modifier can take a pattern. + Version 4.96 ------------ diff --git a/doc/doc-txt/experimental-spec.txt b/doc/doc-txt/experimental-spec.txt index dbd57d698..aac8ca77d 100644 --- a/doc/doc-txt/experimental-spec.txt +++ b/doc/doc-txt/experimental-spec.txt @@ -513,7 +513,9 @@ standard header. add_header = :at_start:${authresults {}} Note that it would be wise to strip incoming messages of A-R headers - that claim to be from our own . + that claim to be from our own . Eg: + + remove_header = \N^(?i)Authentication-Results\s*::\s*example.org;\N There are four new variables: -- cgit v1.2.3