Re: Trying to add a reply-to header using pgsql lookup

Jeremy Harris via Exim-users <[email protected]>
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
On 2025/05/26 10:50 PM, Rowney, Dion via Exim-users wrote:
> 15:46:01.457 756913   ╰───error message: "${quote_pgsql" is not a known operator (or a } is missing in a variable reference)
> 15:46:01.457 756913  ├failed to expand: ${lookup pgsql {SELECT 'Reply-to' AS result FROM listman.lists  WHERE  lower(listname) = '${quote_pgsql
> 15:46:01.457 756913  ╰───error message: "${quote_pgsql" is not a known operator (or a } is missing in a variable reference)
> 15:46:01.457 756913 lists_post router: defer for [email protected]
> 15:46:01.457 756913   message: lists_post router failed to expand remove_headers item "${lookup pgsql {SELECT 'Reply-to' AS result FROM listman.lists  WHERE  lower(listname) = '${quote_pgsql": "${quote_pgsql" is not a known operator (or a } is missing in a variable reference)

> Thoughts?

The "failed to expand" shows the input has been truncated.  What did the matching "considering"
(further back) show?


Your "it works when" seems to have lost the FROM, so I have trouble trusting it...
-- 
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.