Re: Using a dsearch lookup to untaint data

Jeremy Harris via Exim-users <[email protected]> Thu, 11 Dec 2025 22:44:57 +0000
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
On 2025/12/11 9:55 PM, Johnnie Adams via Exim-users wrote:
> "${lookup
> {$local_part}.list dsearch, ret=key,filter=file {/opt/lsoft/listserv/home}

                    ^^^  missed  }  there

    ^^ you missed a { after $

> {${sg {$value}{.txt$}{}}}fail}"

                  ^^^^   you want to use  .list  rather than  .txt   ?


-- 
Cheers,
   Jeremy

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/