bug using passthrough option on opensuse

Manvendra Bhangui <[email protected]> Mon, 20 May 2024 09:05:08 +0530
Newsgroups gmane.mail.bogofilter.general
Message-ID <CAOqj+1Oj=z-y8Y3dv9d0yvnQqays8UXRdej+aK3Q53Ozuo7Jiw@mail.gmail.com>
Hello,

I have been using bogofilter for very long and this is the first time
I am facing this issue. On opensuse leap 15.5 and opensuse leap 15.6,
passthrough option prints just the first header from the mail and the
X-Bogosity header. The entire body gets omitted.

This issue doesn't happen on any of the non-opensuse distributions and
also opensuse Tumbleweed. I have tested this issue using
bogofilter-1.2.5 and the gitlab master branch.

This is a simple mail with just To, CC, Subject and date header

# cat /tmp/mail.txt | cat -e
To: [email protected]$
From: [email protected]$
Date: Mon, 20 May 2024 02:40:54 +0000$
Subject: Test message$
$
Test message$

This is what happens. Just the first line of header gets printed,
followed by the X-Bogosity header and followed by a blank newline

# bogofilter -d /etc/bogofilter -p < /tmp/mail.txt | cat -e
To: [email protected]$
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.520000,
version=1.3.0.alphagit$
$

I would like to have the bug fixed. I have tried debugging
src/passthrough.c but not yet made progress. Is there anything else I
can do to fix this, let me know.
-- 
Regards Manvendra - http://www.indimail.org
GPG Pub Key
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC7CBC760014D250C
_______________________________________________
bogofilter mailing list
[email protected]
https://www.bogofilter.org/mailman/listinfo/bogofilter