[exim] FreeBSD port of Exim 4.96

Góra strony
Delete this message
Reply to this message
Autor: Lena--- via Exim-users
Data:  
Dla: exim-users
Temat: [exim] FreeBSD port of Exim 4.96
I tried to upgrade to Exim 4.96 using recently updated FreeBSD port,
but got errors in paniclog:

2023-05-30 11:11:45 +0300 ACL for not-QUIT returned ERROR: failed to expand ACL string "${run{/bin/sh -c 'echo \\\"$sender_host_address${if match{$sender_host_address}{:}{/56}}\\\" >>$spool_directory/blocked_IPs; \N{\N echo Subject: blocked $sender_host_address $acl_c_country ${sg{${lookup dnsdb{>, defer_never,ptr=$sender_host_address}}}{\N[^\w.,-]\N}{}}; echo; echo for bruteforce auth cracking attempt.; \N}\N | $exim_path -f root Lena@???'}}": Expansion of "echo \\\"$sender_host_address${if match{$sender_host_address" from command "/bin/sh -c 'echo \\\"$sender_host_address${if match{$sender_host_address" in ${run} expansion failed: missing } at end of string

because expand.c needs the patch "Fix ${run } arg parsing":
https://git.exim.org/exim.git/commitdiff/44b6e099b76f403a55e77650821f8a69e9d2682e

But that patch fails. It needs another patch applied before that:
"Args count reduction in expansions coding"
https://git.exim.org/exim.git/commitdiff/d8fbda7da9eb20f98b89f625e8a77eacc443757d

But that patch also fails. I gave up and returned to 4.95.

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