[exim-cvs] Docs: fix closed-mailinglist example

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Docs: fix closed-mailinglist example
Gitweb: https://git.exim.org/exim.git/commitdiff/8b78698fadd197d75137df1bb0b0aae4f601f7f3
Commit:     8b78698fadd197d75137df1bb0b0aae4f601f7f3
Parent:     8f0d0a3138e138ffa6bcc94c8378f5eb22573f0e
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon Sep 20 22:07:48 2021 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Sep 20 22:07:48 2021 +0100


    Docs: fix closed-mailinglist example
---
 doc/doc-docbook/spec.xfpt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 7ff3a5f..9dabe16 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -37708,8 +37708,8 @@ lists_request:
 lists_post:
   driver = redirect
   domains = lists.example
-  senders = ${if exists {/usr/lists/$local_part}\
-             {lsearch;/usr/lists/$local_part}{*}}
+  local_parts = ${lookup {$local_part} dsearch,filter=file,ret=full {/usr/lists}}
+  senders = ${if exists {$local_part_data} {lsearch;$local_part_data}{*}}
   file = ${lookup {$local_part} dsearch,ret=full {/usr/lists}}
   forbid_pipe
   forbid_file