Gitweb:
https://git.exim.org/exim.git/commitdiff/347d8633fd5ff7e85fd0f27444d6d1260c2212de
Commit: 347d8633fd5ff7e85fd0f27444d6d1260c2212de
Parent: 83d9f1521862c7e6876e32810cf2cbca32ccd837
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Nov 17 19:34:32 2024 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Sun Nov 17 19:34:32 2024 +0000
Docs: change example from match (RE) to match_ip (IP list)
Some people find REs difficult to read
---
doc/doc-docbook/spec.xfpt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 8674cfa43..1f90d6c86 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -19724,8 +19724,8 @@ real_localuser:
For security, it would probably be a good idea to restrict the use of this
router to locally-generated messages, using a condition such as this:
.code
- condition = ${if match {$sender_host_address}\
- {\N^(|127\.0\.0\.1)$\N}}
+ condition = ${if match_ip {$sender_host_address} \
+ {<; ; 127.0.0.1 ; ::1}}
.endd
If both &%local_part_prefix%& and &%local_part_suffix%& are set for a router,
@@ -22467,8 +22467,8 @@ real_localuser:
For security, it would probably be a good idea to restrict the use of this
router to locally-generated messages, using a condition such as this:
.code
- condition = ${if match {$sender_host_address}\
- {\N^(|127\.0\.0\.1)$\N}}
+ condition = ${if match_ip {$sender_host_address} \
+ {<; ; 127.0.0.1 ; ::1}}
.endd
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/