On Fri, Nov 21, 2025 at 11:49:34AM +0100, Klaus Ethgen via Exim-users wrote:
> Am Fr den 21. Nov 2025 um 11:10 schrieb Jeremy Harris via Exim-users:
> >
> > There is a headerwrap expansion operator, since 4.97.
> >
> > https://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html
>
> I tried that. Unfortunatelly I run 4.94.2 as the devuan after the
> release chimaera got equal unstable as debian years before.
I think there are many ways to write code for splitting.
For example, use ${run..} to call external formatter:
warn
set acl_m_new_header = <some long line>
warn
set acl_m_splitted_header = \
${run{/bin/sh -c "echo $acl_m_new_header | fmt -78 -t"}{$value}fail}
add_header X-Header-Name: $acl_m_splitted_header
--
Eugene Berdnikov
--
## 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/