Here is a minimal reproduction: $ printf 'To: [email protected]\n\nTest message\n' >/tmp/exim-test.eml $ exim4 -bem /tmp/exim-test.eml '$h_to:,' 2026-11-28 16:27:15 internal error in string_catn (ptr 16 size -5560914)
When testing against a queued message, the following expansions succeed: exim4 -Mset MESSAGE_ID -be '$h_to:' exim4 -Mset MESSAGE_ID -be '$h_from:' The following fail: exim4 -Mset MESSAGE_ID -be '$h_to:,' exim4 -Mset MESSAGE_ID -be '$h_from:,' exim4 -Mset MESSAGE_ID -be '$h_to:,$h_cc:' Concatenating raw headers succeeds: exim4 -Mset MESSAGE_ID -be '$rh_to:,$rh_cc:' In my case, the offending line in .forward was a condition of the form: if foranyaddress $h_to:,$h_cc: (...) This prevented all incoming mail delivery. Commenting out this rule restored delivery. Christian

