Article View: linux.debian.bugs.dist
Article #6635Bug#1155425: exim4: internal error in string_catn using $header_subject in filter file
From: Christian G. Warden
Date: Sat, 28 Nov 2026 22:50
Date: Sat, 28 Nov 2026 22:50
29 lines
2840 bytes
2840 bytes
Here is a minimal reproduction: $ printf 'To: test@example.com\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
Technical Details
Message-ID:
<O4zoZ-eKZW-15@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<O3DuF-eexF-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: "Christian G. Warden" <cwarden@xerus.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155425: exim4: internal error in string_catn using $header_subject in filter file
Date: Sat, 28 Nov 2026 23:50:01 +0100
Message-ID: <O4zoZ-eKZW-15@gated-at.bofh.it>
References: <O3DuF-eexF-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 28 22:41:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: "Christian G. Warden" <cwarden@xerus.org>, 1155425@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-exim4-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1155425
X-Debian-Pr-Package: exim4
X-Debian-Pr-Source: exim4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Face: jD^+@)>yf8|'#1~7ie$N]>2XN},k*wInk~T->gX/l"0?GDg#b;M[;(4'R94H`6,~p"&"(`$
?KVH_(2BuS[Zi(IFt,DWb'j77JZMQ~S0mN]o^>zAGQOaz6/uCSFu(O,jf*(e<*'Sa~yW1k1RC0xhd1
]'F2p]Wvt3bJ$i2E69!rDttE@/nw?1kS#-#Al(p=G\{Jj4GaRlN(V=R@+&dqD{`v7Y{!WE_?H!iD2D
Z$
X-Sender-Verification: OK
X-Greylist: delayed 459 seconds by postgrey-1.37 at buxtehude; Sat, 28 Nov 2026 22:39:02 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005728
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 29
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 28 Nov 2026 16:31:22 -0600
X-Original-Message-ID: <awtWOogN9gCLqMXN@xerus.org>
X-Original-References: <179568055949.7122.4348531802845676889.reportbug@dealer.simon-cozens.org>