Docs: fix closed-mailinglist example
authorJeremy Harris <jgh146exb@wizmail.org>
Mon, 20 Sep 2021 21:07:48 +0000 (22:07 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Mon, 20 Sep 2021 21:07:48 +0000 (22:07 +0100)
doc/doc-docbook/spec.xfpt

index 7ff3a5fcd3e0b2876511c8b0c1e4f2e22b58da1c..9dabe1658c4d8114ffdf263a324a2afe64d8d44b 100644 (file)
@@ -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