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/27 12:01 AM, Rowney, Dion via Exim-users wrote:
>    headers_remove = ${if eq{${lookup pgsql \
>      {SELECT '1' FROM  listman.lists  \
>        WHERE  \
>          listname = '${quote_pgsql:$local_part}'  \
>          AND lists.options LIKE '%"reply-to-list"%'  } \
>      }}{1} \
>    {Reply-to} \
>    {} \
>    }

headers_remove takes a list, colon-sep by default.
There is a colon after "quote_pgsql".

See "Warning 3" in the docs, "Generic options for routers" chapter,
the "headers_remove" entry.

-- 
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.