bug using passthrough option on opensuse

Manvendra Bhangui mbhangui at gmail.com
Mon May 20 05:35:08 CEST 2024


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: test at example.com$
From: test at example.com$
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: test at example.com$
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


More information about the bogofilter mailing list