diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2023-03-17 18:39:46 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2023-03-17 18:39:46 +0000 |
commit | 1745d310db8102be38db65401df57747e9beaf6a (patch) | |
tree | 455c68d948a5423f7f8a3c7a6957065ecdc5df1c /doc/doc-txt | |
parent | da1702c0e2fd5b5b4300bbae3f21db7ac5d74198 (diff) |
ACL: patterns for remove_headers. Bug 2985
Diffstat (limited to 'doc/doc-txt')
-rw-r--r-- | doc/doc-txt/NewStuff | 2 | ||||
-rw-r--r-- | doc/doc-txt/experimental-spec.txt | 4 |
2 files changed, 5 insertions, 1 deletions
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 {<admd-identifier>}} Note that it would be wise to strip incoming messages of A-R headers - that claim to be from our own <admd-identifier>. + that claim to be from our own <admd-identifier>. Eg: + + remove_header = \N^(?i)Authentication-Results\s*::\s*example.org;\N There are four new variables: |